fix compilation after c19cc17 74/20074/1
Antoine ELIAS [Tue, 29 May 2018 20:58:14 +0000 (22:58 +0200)]
Change-Id: I1e50a4ed85f56802dc9c9f15ff42658f944269c2

scilab/modules/ast/includes/types/int.hxx

index c1772dc..a0fdbc9 100644 (file)
@@ -174,13 +174,14 @@ public :
 
     Int<T>* sign()
     {
-        Int<T> *pOut = new Int<T>(getDims(), getDimsArray());
+        Int<T> *pOut = new Int<T>(GenericType::getDims(), GenericType::getDimsArray());
         T* p = pOut->get();
-        int size = getSize();
+        int size = GenericType::getSize();
         for (int i = 0; i < size; ++i)
         {
-            p[i] = (m_pRealData[i] > T(0)) - (m_pRealData[i] < T(0));
+            p[i] = (this->m_pRealData[i] > T(0)) - (this->m_pRealData[i] < T(0));
         }
+
         return pOut;
     }