bugzz
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -2,4 +2,4 @@
|
|||||||
/.svn
|
/.svn
|
||||||
/doc/rtf
|
/doc/rtf
|
||||||
_unsused
|
_unsused
|
||||||
*.user*
|
CMakeLists.txt.user*
|
||||||
@@ -1,8 +1,7 @@
|
|||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include "pimathmatrix.h"
|
#include "pimathmatrix.h"
|
||||||
|
|
||||||
template<typename Type>
|
bool cmpSquareMatrixWithValue(PIMathMatrix<double> matrix, double val, int num) {
|
||||||
bool cmpSquareMatrixWithValue(PIMathMatrix<double> matrix, Type val, int num) {
|
|
||||||
bool b = true;
|
bool b = true;
|
||||||
for(int i = 0; i < num; i++) {
|
for(int i = 0; i < num; i++) {
|
||||||
for(int j = 0; j < num; j++) {
|
for(int j = 0; j < num; j++) {
|
||||||
|
|||||||
@@ -4,8 +4,7 @@
|
|||||||
const uint rows = 3;
|
const uint rows = 3;
|
||||||
const uint cols = 3;
|
const uint cols = 3;
|
||||||
|
|
||||||
template<typename Type>
|
bool cmpSquareMatrixWithValue(PIMathMatrixT<rows, cols, double> matrix, double val, int num) {
|
||||||
bool cmpSquareMatrixWithValue(PIMathMatrixT<rows, cols, double> matrix, Type val, int num) {
|
|
||||||
bool b = true;
|
bool b = true;
|
||||||
for(int i = 0; i < num; i++) {
|
for(int i = 0; i < num; i++) {
|
||||||
for(int j = 0; j < num; j++) {
|
for(int j = 0; j < num; j++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user