From d51e1a33a8d323da748fe3c37b290c893e5db5aa Mon Sep 17 00:00:00 2001
From: Mansard <nmansard@laas.fr>
Date: Thu, 25 Aug 2011 14:28:28 +0200
Subject: [PATCH] Syntax error in debug mode.

---
 src/solver-dyn-reduced.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/solver-dyn-reduced.cpp b/src/solver-dyn-reduced.cpp
index f313578..17ae8cf 100644
--- a/src/solver-dyn-reduced.cpp
+++ b/src/solver-dyn-reduced.cpp
@@ -744,7 +744,7 @@ namespace dynamicgraph
 	  V = Q [ 0 ; I ].
 	 */
 	EIGEN_MATRIX_FROM_MATRIX(V,mlV,nq,freeRank);
-	assert( freeRank = J.rows() );
+	assert( freeRank == J.rows() );
 	assert( Gt_qr.householderQ().cols()==nq && Gt_qr.householderQ().rows()==nq );
 	V.topRows(nq-freeRank).fill(0);
 	V.bottomRows(freeRank) = MatrixXd::Identity(freeRank,freeRank);
-- 
GitLab