Kaydet (Commit) 0146b05a authored tarafından Kohei Yoshida's avatar Kohei Yoshida

This is wrong. We should allow both boolean and numeric types.

üst 9bf4bb78
......@@ -114,7 +114,8 @@ void compareMatrix(MatrixImplType& rMat)
for (size_t j = 0; j < aDim.second; ++j)
{
matrix_element_t eType = rMat.get_type(i, j);
if (eType != mdds::element_numeric && eType == mdds::element_boolean)
if (eType != mdds::element_numeric && eType != mdds::element_boolean)
// must be of numeric type (boolean can be numeric).
continue;
double fVal = rMat.get_numeric(i, j);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment