aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-06-06 11:10:29 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-06-06 11:10:29 +0100
commitd5b26e1a9428f7dd951dbf8ea08a5035620fa2e5 (patch)
tree90dad18c94ebb4269a3aa164c0cc0afedf277efb /test
parent4c16cca26bdae09525c04665b536da98beb4c76f (diff)
downloadYAGE-d5b26e1a9428f7dd951dbf8ea08a5035620fa2e5.tar.gz
YAGE-d5b26e1a9428f7dd951dbf8ea08a5035620fa2e5.zip
Building matrix
Diffstat (limited to 'test')
-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;
}