diff -up OS-2.10.2/src/OSCommonInterfaces/OSMatrix.cpp.orig OS-2.10.2/src/OSCommonInterfaces/OSMatrix.cpp
--- OS-2.10.2/src/OSCommonInterfaces/OSMatrix.cpp.orig 2017-12-08 06:52:50.000000000 -0700
+++ OS-2.10.2/src/OSCommonInterfaces/OSMatrix.cpp 2019-04-10 16:12:13.198645429 -0600
@@ -168,7 +168,6 @@ MatrixType::MatrixType():
numberOfColumns(0),
ExpandedMatrixInRowMajorForm(NULL),
ExpandedMatrixInColumnMajorForm(NULL),
- ExpandedMatrixByBlocks(NULL),
m_miRowPartition(NULL),
m_iRowPartitionSize(0),
m_miColumnPartition(NULL),
@@ -3742,11 +3741,9 @@ bool OSMatrix::IsEqual(OSMatrix *that)
}
else
{
- if (this->idx != this->idx) return false;
- if (this->name != this->name) return false;
- if (!this->MatrixNode::IsEqual(that)) return false;
-
- return true;
+ if (this->idx != that->idx) return false;
+ if (this->name != that->name) return false;
+ return this->MatrixNode::IsEqual(that);
}
}
}// end of OSMatrix::IsEqual()