Define M_PI float, change logical and to &&

This commit is contained in:
jaredkw
2016-05-11 18:35:05 -04:00
committed by James Goppert
parent 4d33092bcb
commit 3509329f30
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -371,7 +371,7 @@ public:
setZero();
Matrix<Type, M, N> &self = *this;
for (size_t i = 0; i < M and i < N; i++) {
for (size_t i = 0; i < M && i < N; i++) {
self(i, i) = 1;
}
}