Fix getScalar
This commit is contained in:
@@ -51,7 +51,7 @@ float CudaMatrix::getScalar() const
|
||||
{
|
||||
if (isNull()) return 0.0;
|
||||
if (isNull()) return 0.0;
|
||||
return getData()[0];
|
||||
return getValue(0);
|
||||
}
|
||||
|
||||
bool CudaMatrix::isVector() const
|
||||
|
||||
Reference in New Issue
Block a user