summaryrefslogtreecommitdiff
path: root/math/clp/files/patch-Osi_test_OsiTestSolverInterfaceIO.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'math/clp/files/patch-Osi_test_OsiTestSolverInterfaceIO.cpp')
-rw-r--r--math/clp/files/patch-Osi_test_OsiTestSolverInterfaceIO.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/math/clp/files/patch-Osi_test_OsiTestSolverInterfaceIO.cpp b/math/clp/files/patch-Osi_test_OsiTestSolverInterfaceIO.cpp
new file mode 100644
index 000000000000..2a921f8eb236
--- /dev/null
+++ b/math/clp/files/patch-Osi_test_OsiTestSolverInterfaceIO.cpp
@@ -0,0 +1,16 @@
+--- Osi/test/OsiTestSolverInterfaceIO.cpp.orig 2018-04-16 06:54:20 UTC
++++ Osi/test/OsiTestSolverInterfaceIO.cpp
+@@ -422,10 +422,10 @@ OsiTestSolverInterface::writeMps(const c
+ writer.setMpsData(*getMatrixByCol(), getInfinity(),
+ getColLower(), getColUpper(),
+ getObjCoefficients(),
+- reinterpret_cast<const char *> (NULL) /*integrality*/,
++ nullptr /*integrality*/,
+ getRowLower(), getRowUpper(),
+- reinterpret_cast<const char **> (NULL) /*colnam*/,
+- reinterpret_cast<const char **> (NULL) /*rownam*/);
++ nullptr /*colnam*/,
++ nullptr /*rownam*/);
+ std::string fname = filename;
+ if (extension)
+ { if (extension[0] != '\0' && extension[0] != '.')