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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,7 @@ v4.6
66
66
- It will now check for NaNed vectors coming from the underlying expression, skipping emission
67
67
if one is detected (previously: it would emit decorations with `NaN`ed transforms).
68
68
-`PolynomialPathFitter` now allows fitting paths that depend on more than 6 coordinates, matching recent changes to `MultivariatePolynomialFunction` (#4001).
69
+
- If an `Object` cannot be found when loading a list property from XML, a warning will now be emitted to the log (previously: it was emitted to `std::cerr`, #4009).
<< objTypeTag << " while reading property " << this->getName()
1412
-
<< ". There is no registered Object of this type; ignoring.\n";
1413
-
continue;
1409
+
log_error("Encountered unrecognized Object typename {} while reading property {}. There is no registered Object of this type. Ignoring.", objTypeTag, this->getName());
1410
+
continue;
1414
1411
}
1415
1412
1416
1413
// Check that the object type found is derived from T.
1417
1414
if (!dynamic_cast<const T*>(registeredObj)) {
1418
-
std::cerr << "Object type " << objTypeTag
1419
-
<< " wrong for " << objectClassName
1420
-
<< " property " << this->getName()
1421
-
<< "; ignoring.\n";
1415
+
log_error("Object type {} wrong for {} property {}. Ignoring.", objTypeTag, objectClassName, this->getName());
0 commit comments