Fix usage of OptionalNone in a different namespace

release/4.3a0
Jose Luis Blanco-Claraco 2023-09-28 16:58:00 +02:00
parent 4bece8eb77
commit fbdd602532
No known key found for this signature in database
GPG Key ID: D443304FBD70A641
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ namespace gtsam {
* Had to use the static_cast of a nullptr, because the compiler is not able to
* deduce the type of the nullptr when expanding the evaluateError templates.
*/
#define OptionalNone static_cast<Matrix*>(nullptr)
#define OptionalNone static_cast<gtsam::Matrix*>(nullptr)
/** This typedef will be used everywhere boost::optional<Matrix&> reference was used
* previously. This is used to indicate that the Jacobian is optional. In the future