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
auto ser_profile = std::make_shared<TrajOptOSQPSolverProfile>();
tesseract_common::Serialization::toArchiveFileXML<TrajOptOSQPSolverProfile>(*ser_profile, profile_path);
auto deser_profile = std::make_shared<T>(tesseract_common::Serialization::fromArchiveFileXML<TrajOptOSQPSolverProfile>(profile_path));
Expected behavior
Support for +/-inf. Or set the default of min_approx_improve_frac to std::numeric_limits<double>::lowest(), and of max_time to std::numeric_limits<double>::max().
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
Version
latest
OS Version
Ubuntu 24.04
Describe the bug
The default value of
min_approx_improve_frac
is-inf
. Boost can serialize this to-inf
, but cannot deserialize it, see here.This leads to a deserialization error here.
To Reproduce
Expected behavior
Support for +/-inf. Or set the default of
min_approx_improve_frac
tostd::numeric_limits<double>::lowest()
, and ofmax_time
tostd::numeric_limits<double>::max()
.Relevant log output
No response
The text was updated successfully, but these errors were encountered: