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
in the work of making Optim work with measurements (and fixing #100 ), i found that the show error is due to a measurement numbers being incapable of being formatted by @sprintf macro. a stopgap solution is to use Printf.tofloat(x::Measurement) = tofloat(value(x)) but it would be great to apply the formatting to both the value and the uncertainty, any idea on how to do that?
The text was updated successfully, but these errors were encountered:
in the work of making Optim work with measurements (and fixing #100 ), i found that the show error is due to a measurement numbers being incapable of being formatted by @sprintf macro. a stopgap solution is to use
Printf.tofloat(x::Measurement) = tofloat(value(x))
but it would be great to apply the formatting to both the value and the uncertainty, any idea on how to do that?The text was updated successfully, but these errors were encountered: