cumprod(%i+%s) crashed Scilab.
[scilab.git] / 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);
         }
     }