Throw exception on interpolation errors

Is there some way to make ROOT throw an exception rather than spit this error:

TH3D::Interpolate         ERROR   Cannot interpolate outside histogram domain. (x: 200.020004 vs [200.000000,6000.000000], y: nan vs [-6.000000,0.000000], z: 0.131880 vs [0.000000,2.000000])

? I would rather have code fail (and let gdb point me to the failure point) than look through a huge amount of code for whatever does this.


@couet, can you please take a look here?

I think that’s more for @moneta

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.