From f455f9b3c105292ccba94f2b5fe0f57cfe4b799c Mon Sep 17 00:00:00 2001 From: Georgey Date: Wed, 15 Mar 2017 16:34:53 +0530 Subject: Added header files for Ipopt 3.12.7,minor modifications to symphony's output texts --- sci_gateway/cpp/sci_sym_solve.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sci_gateway/cpp/sci_sym_solve.cpp') 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 { -- cgit