You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While we cannot avoid round-off error in the index and value methods of the regular axis, we want these two to be exact inverses of each other. In other words, this should succeed for all values of nbin, start, stop.
auto a = regular(nbin, start, stop);
for (int i =0; i < nbin; ++i)
assert(a.index(a.value(i)) == i);
This needs to verified with fuzzy testing.
The text was updated successfully, but these errors were encountered:
While we cannot avoid round-off error in the
index
andvalue
methods of theregular
axis, we want these two to be exact inverses of each other. In other words, this should succeed for all values ofnbin
,start
,stop
.This needs to verified with fuzzy testing.
The text was updated successfully, but these errors were encountered: