summaryrefslogtreecommitdiff
path: root/sci_gateway/cpp/sci_sym_solve.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sci_gateway/cpp/sci_sym_solve.cpp')
-rw-r--r--sci_gateway/cpp/sci_sym_solve.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci_gateway/cpp/sci_sym_solve.cpp b/sci_gateway/cpp/sci_sym_solve.cpp
index a0af480..e15535b 100644
--- a/sci_gateway/cpp/sci_sym_solve.cpp
+++ b/sci_gateway/cpp/sci_sym_solve.cpp
@@ -38,9 +38,9 @@ int sci_sym_solve(char *fname, unsigned long fname_len){
status = sym_get_dbl_param(global_sym_env,"time_limit",&time_limit);
if (status == FUNCTION_TERMINATED_NORMALLY) {
- if ( time_limit < 0.0 )
- sciprint("\nNote: There is no limit on time.\n");
- else sciprint("\nNote: Time limit has been set to %lf.\n",time_limit);
+ if ( time_limit >= 0.0 )
+ // sciprint("\nNote: There is no limit on time.\n");
+ sciprint("\nNote: Time limit has been set to %lf.\n",time_limit);
status=process_ret_val(sym_solve(global_sym_env));// Call function
}
else {