Fix matrix isNan function bug.
This commit is contained in:
@@ -262,7 +262,7 @@ namespace Aurora {
|
||||
{
|
||||
for(size_t i=0; i<getDataSize(); ++i)
|
||||
{
|
||||
if(mData.get()[i] != NAN)
|
||||
if(mData.get()[i] == mData.get()[i])
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user