Skip to content

Commit 4726892

Browse files
committed
core: fix warning
1 parent 8895855 commit 4726892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/eigenpy/details.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ namespace eigenpy
275275

276276
PyArrayObject* pyArray;
277277
// Allocate Python memory
278-
if( ( ((C == 1 xor R == 1) && !MatType::IsVectorAtCompileTime) || MatType::IsVectorAtCompileTime)
278+
if( ( (((C == 1) xor (R == 1)) && !MatType::IsVectorAtCompileTime) || MatType::IsVectorAtCompileTime)
279279
&& NumpyType::getType() == ARRAY_TYPE) // Handle array with a single dimension
280280
{
281281
npy_intp shape[1] = { C == 1 ? R : C };

0 commit comments

Comments
 (0)