degree(): wrong call to overload (6.0 regression) 34/18434/3
Samuel GOUGEON [Tue, 9 Aug 2016 18:51:46 +0000 (20:51 +0200)]
Change-Id: Ic9eedf5c88bd83171a66acb59194eeaeed842690

scilab/modules/polynomials/sci_gateway/cpp/sci_degree.cpp

index 7906b37..5a4fb0d 100644 (file)
@@ -62,7 +62,7 @@ types::Function::ReturnValue sci_degree(types::typed_list &in, int _iRetCount, t
     }
     else
     {
-        std::wstring wstFuncName = L"%" + in[0]->getShortTypeStr() + L"_coeff";
+        std::wstring wstFuncName = L"%" + in[0]->getShortTypeStr() + L"_degree";
         return Overload::call(wstFuncName, in, _iRetCount, out);
     }