Changeset 25538 in project


Ignore:
Timestamp:
11/21/11 17:55:28 (9 years ago)
Author:
Ivan Raikov
Message:

sundials: end time in cvode constructor is optional

Location:
release/4/sundials/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/4/sundials/trunk/sundials.scm

    r25245 r25538  
    556556    }
    557557
    558     flag = CVodeSetStopTime(solver_handle->cvode_mem, time_stop);
    559     if (flag != CV_SUCCESS)
     558    if (time_stop > 0.0)
     559    {
     560     flag = CVodeSetStopTime(solver_handle->cvode_mem, time_stop);
     561     if (flag != CV_SUCCESS)
    560562         chicken_error("could not set stop time with CVodeSetStopTime", C_fix(flag)) ; 
     563    }
    561564
    562565    return solver_handle;
  • release/4/sundials/trunk/sundials.setup

    r25246 r25538  
    6868
    6969  ; Assoc list with properties for your extension:
    70   `((version 1.3)
     70  `((version 1.4)
    7171    ))
    7272
Note: See TracChangeset for help on using the changeset viewer.