Added scalar to matrix conversion.

This commit is contained in:
James Goppert
2016-02-26 05:56:21 -05:00
parent 6974f97b1c
commit 2d27cd79d3
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -74,6 +74,9 @@ int main()
s = 1;
TEST(fabs(s - 1) < 1e-5);
Matrix<float, 1, 1> m5 = s;
TEST(fabs(m5(0,0) - s) < 1e-5);
return 0;
}