From 734772d92fca8be4c8baeb36abd96fd075ec5739 Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Mon, 13 Apr 2020 20:09:43 -0400 Subject: [PATCH] typo fix --- gtsam/base/OptionalJacobian.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/base/OptionalJacobian.h b/gtsam/base/OptionalJacobian.h index 82a5ae7f48..fbec2f1cd0 100644 --- a/gtsam/base/OptionalJacobian.h +++ b/gtsam/base/OptionalJacobian.h @@ -112,7 +112,7 @@ class OptionalJacobian { // template // OptionalJacobian(Eigen::Block block) : map_(NULL) { ?? } - /// Return true is allocated, false if default constructor was used + /// Return true if allocated, false if default constructor was used operator bool() const { return map_.data() != NULL; } @@ -197,7 +197,7 @@ class OptionalJacobian { #endif - /// Return true is allocated, false if default constructor was used + /// Return true if allocated, false if default constructor was used operator bool() const { return pointer_!=NULL; }