diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-06-06 11:10:29 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-06-06 11:10:29 +0100 |
commit | d5b26e1a9428f7dd951dbf8ea08a5035620fa2e5 (patch) | |
tree | 90dad18c94ebb4269a3aa164c0cc0afedf277efb /test | |
parent | 4c16cca26bdae09525c04665b536da98beb4c76f (diff) | |
download | YAGE-d5b26e1a9428f7dd951dbf8ea08a5035620fa2e5.tar.gz YAGE-d5b26e1a9428f7dd951dbf8ea08a5035620fa2e5.zip |
Building matrix
Diffstat (limited to 'test')
-rw-r--r-- | test/matrix_test.cpp | 6 |
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; } |