hiroya taura / Mbed 2 deprecated LAURUS_program

Dependencies:   ConfigFile SDFileSystem mbed

Fork of LAURUS_program by LAURUS

Revision:
23:79cdc1432160
Parent:
13:df1e8a650185
--- a/Vector/Vector.h	Tue Jun 23 15:23:38 2015 +0000
+++ b/Vector/Vector.h	Wed Jun 24 16:16:14 2015 +0000
@@ -1,5 +1,5 @@
 #pragma once
-#include "ErrorLogger.h"
+#include "mbed.h"
 
 class Matrix;
 
@@ -33,7 +33,7 @@
     }
 
     inline float GetComp(int dimNo) const {
-        if (dimNo > dim) AbortWithMsg("Index Out of Bounds Error !!");
+        if (dimNo > dim) error("Index Out of Bounds Error !!");
         return components[dimNo-1];
     }