test morning

Dependencies:   ISR_Mini-explorer mbed

Fork of roboticLab_withclass_3_July by Georgios Tsamis

Revision:
14:696187e74411
Parent:
11:b91fe0ed4fed
--- a/myMatrix.cpp	Wed Jul 12 09:07:31 2017 +0000
+++ b/myMatrix.cpp	Wed Jul 12 18:08:07 2017 +0000
@@ -18,9 +18,19 @@
     this->fillWithZeroes();
 }
 
+/*
+myMatrix::~myMatrix()
+{
+    //for (int i = 0; i < this->nbRow; i++) {
+    //    delete [] (this->data[i]);
+    //}
+    //delete [] (this->data);
+    
+}
+*/
 void myMatrix::fillWithZeroes(){
-    for(int i = 0; i < this->nbRow; ++i) {
-        for(int j = 0; j < this->nbColumn; ++j) {
+    for(int i = 0; i < mat1.nbRow; ++i) {
+        for(int j = 0; j < mat1.nbColumn; ++j) {
             this->data[i][j] = 0;
         }
     }