* Bug 16015 fixed: intg(a,b,f) called f(x) with x outside domain
[scilab.git] / scilab / modules / differential_equations / sci_gateway / cpp / sci_intg.cpp
index 11e7c05..ebce3a4 100644 (file)
@@ -123,7 +123,7 @@ types::Function::ReturnValue sci_intg(types::typed_list &in, int _iRetCount, typ
         deFunctionsManager.setFFunction(pCall);
 
         // check function
-        double t = 1;
+        double t = pdA;
         double ret = intg_f(&t);
         /* if (ret == 0)
         {