aboutsummaryrefslogtreecommitdiffstats
path: root/test/matrix_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/matrix_test.cpp')
-rw-r--r--test/matrix_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/matrix_test.cpp b/test/matrix_test.cpp
index 8f09ad38..ba1f0d4a 100644
--- a/test/matrix_test.cpp
+++ b/test/matrix_test.cpp
@@ -4,10 +4,10 @@
int main()
{
- yage::Matrix<double, 10, 10> matrix;
-
- int x=matrix.get(5, 2);
+ yage::Matrix<4, 4, int> matrix;
+ int x=matrix[2][2];
+
std::cout<<"at: "<<x<<'\n';
return 0;
}