]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Split Numpy and Scipy detection
authorageay <ageay>
Tue, 26 Nov 2013 11:06:07 +0000 (11:06 +0000)
committerageay <ageay>
Tue, 26 Nov 2013 11:06:07 +0000 (11:06 +0000)
src/MEDCoupling_Swig/MEDCouplingRemapper.i

index 5578506acb061ae04d04e807e48780458dbc43b4..557d63bcfc5f2e8f2720c7f5d8e97457d5722398 100644 (file)
@@ -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());