Fix some implicit literal to Scalar conversions in SparseCore

This commit is contained in:
Gael Guennebaud
2019-09-11 00:03:07 +02:00
parent c06e6fd115
commit afa8d13532
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ public:
}
else
{
m_value = 0; // this is to avoid a compilation warning
m_value = Scalar(0); // this is to avoid a compilation warning
m_id = -1;
}
return *this;