Skip to content

Commit 05e762a

Browse files
committed
Update use of bounds constraints
In newer versions of Irksome, bounds constraints are not passed to the .advance method but rather in the initialization of the time stepper.
1 parent 3c82abe commit 05e762a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebooks/rainier-monolithic.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@
610610
" },\n",
611611
" \"stage_type\": \"value\",\n",
612612
" \"basis_type\": \"Bernstein\",\n",
613-
" #\"bounds\": bounds,\n",
613+
" \"bounds\": bounds,\n",
614614
"}\n",
615615
"\n",
616616
"solver = irksome.TimeStepper(F, tableau, t, dt, w, **bparams)"
@@ -637,7 +637,7 @@
637637
"final_time = 500.0\n",
638638
"num_steps = int(final_time / float(dt))\n",
639639
"for step in trange(num_steps):\n",
640-
" solver.advance(bounds=bounds)\n",
640+
" solver.advance()\n",
641641
" h = w.subfunctions[3]\n",
642642
" a.interpolate(smb(b + h))\n",
643643
"\n",

0 commit comments

Comments
 (0)