From: ageay Date: Tue, 26 Nov 2013 11:06:07 +0000 (+0000) Subject: Split Numpy and Scipy detection X-Git-Tag: V7_3_0a1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=21f6dcce42419f5892164c5f79255029e0ff8d1a;p=modules%2Fmed.git Split Numpy and Scipy detection --- diff --git a/src/MEDCoupling_Swig/MEDCouplingRemapper.i b/src/MEDCoupling_Swig/MEDCouplingRemapper.i index 5578506ac..557d63bcf 100644 --- a/src/MEDCoupling_Swig/MEDCouplingRemapper.i +++ b/src/MEDCoupling_Swig/MEDCouplingRemapper.i @@ -91,7 +91,7 @@ namespace ParaMEDMEM } return ret; } -#ifdef WITH_NUMPY +#if defined(WITH_NUMPY) && defined(WITH_SCIPY) PyObject *getCrudeCSRMatrix() const throw(INTERP_KERNEL::Exception) { return ToCSRMatrix(self->getCrudeMatrix(),self->getNumberOfColsOfMatrix());