cumprod(%i+%s) crashed Scilab. 55/17155/3
Adeline CARNIS [Thu, 3 Sep 2015 12:14:56 +0000 (14:14 +0200)]
Change-Id: I686c94716393db2a4e61902747b2711957cc6cf6

scilab/modules/elementary_functions/sci_gateway/cpp/sci_cumprod.cpp

index 8d1a510..5662def 100644 (file)
@@ -313,7 +313,6 @@ types::Function::ReturnValue sci_cumprod(types::typed_list &in, int _iRetCount,
         else
         {
             pPolyOut = new types::Polynom(pPolyIn->getVariableName(), pPolyIn->getDims(), pPolyIn->getDimsArray());
-            pPolyOut->setComplex(pPolyIn->isComplex());
             cumprod(pPolyIn, iOrientation, pPolyOut);
         }
     }