summaryrefslogtreecommitdiff
path: root/sci_gateway/cpp/sci_sym_loadproblem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sci_gateway/cpp/sci_sym_loadproblem.cpp')
-rw-r--r--sci_gateway/cpp/sci_sym_loadproblem.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/sci_gateway/cpp/sci_sym_loadproblem.cpp b/sci_gateway/cpp/sci_sym_loadproblem.cpp
index 5294082..1a00092 100644
--- a/sci_gateway/cpp/sci_sym_loadproblem.cpp
+++ b/sci_gateway/cpp/sci_sym_loadproblem.cpp
@@ -198,6 +198,9 @@ static int commonCodePart2()
cleanupBeforeExit();
return 1;
}
+ #ifdef _MSC_VER
+ double INFINITY = sym_get_infinity();
+ #endif
if(conLower[rowIter]==(-INFINITY) && conUpper[rowIter]==INFINITY){
conType[rowIter]='N';
conRange[rowIter]=0;