In CVodeCreate set cv_mem.cv_user_data = null.
authorilb@NIH.GOV <ilb@NIH.GOV@ba61647d-9d00-f842-95cd-605cb4296b96>
Tue, 20 Mar 2018 22:14:19 +0000 (22:14 +0000)
committerilb@NIH.GOV <ilb@NIH.GOV@ba61647d-9d00-f842-95cd-605cb4296b96>
Tue, 20 Mar 2018 22:14:19 +0000 (22:14 +0000)
git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/trunk@15421 ba61647d-9d00-f842-95cd-605cb4296b96

mipav/src/gov/nih/mipav/model/algorithms/CVODES.java

index 4cb88f1..1f18483 100644 (file)
@@ -570,7 +570,7 @@ public abstract class CVODES {
     final int cvsDirectDemo_ls_Problem_1 = 2;\r
     final int cvsRoberts_dns_uw = 3;\r
     final int cvsRoberts_FSA_dns = 4;\r
-    int problem = cvsRoberts_FSA_dns;\r
+    int problem = cvsDirectDemo_ls_Problem_1;\r
     boolean testMode = true;\r
        \r
     // Linear Solver options for runcvsDirectDemo\r
@@ -2588,7 +2588,7 @@ public abstract class CVODES {
 \r
          //cv_mem.cv_f          = null;\r
          cv_mem.cv_f = -1;\r
-         //cv_mem.cv_user_data  = null;\r
+         cv_mem.cv_user_data  = null;\r
          cv_mem.cv_itol       = CV_NN;\r
          cv_mem.cv_user_efun  = false;\r
          //cv_mem.cv_efun       = null;\r