documentation and tests bug fix for PIMathVector.h
This commit is contained in:
@@ -5,7 +5,7 @@ bool cmpSquareMatrixWithValue(PIMathMatrix<double> matrix, double val, int num)
|
||||
bool b = true;
|
||||
for(int i = 0; i < num; i++) {
|
||||
for(int j = 0; j < num; j++) {
|
||||
if(matrix.element(i, j) != val) {
|
||||
if(matrix.element(i, j) - val >= double(1E-200)) {
|
||||
b = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user