From 7a5f48f6ddf27185fce0d9ff5b05d8f50435e130 Mon Sep 17 00:00:00 2001 From: dellaert Date: Sun, 12 Oct 2014 12:20:12 +0200 Subject: [PATCH] Fixed typo in assert --- gtsam_unstable/nonlinear/Expression-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam_unstable/nonlinear/Expression-inl.h b/gtsam_unstable/nonlinear/Expression-inl.h index c40dfb405..5ee1ca272 100644 --- a/gtsam_unstable/nonlinear/Expression-inl.h +++ b/gtsam_unstable/nonlinear/Expression-inl.h @@ -370,7 +370,7 @@ public: /// Move terms to array, destroys content void move(std::vector& H) { - assert(H.size()==jacobains.size()); + assert(H.size()==jacobians_.size()); size_t j = 0; JacobianMap::iterator it = jacobians_.begin(); for (; it != jacobians_.end(); ++it)