Function error_update

O2scl : Function List

void o2scl::error_update(int &ret, int err)

Update an error value err with the value in ret.

If ret is zero, this sets ret to the value err, and if ret is nonzero this function does nothing.