Skip to content

Commit

Permalink
rewrite to address PendingDeprecationWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdsharpe committed Jan 30, 2024
1 parent 272181d commit 5d4f235
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,19 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 1,
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Solved in 16 iterations.\n",
"Solved in 15 iterations.\n",
"DynamicsPointMass1DVertical instance:\n",
"\tState variables:\n",
"\t\t z_e: [ 0.00000000e+00 -2.73700089e+01 -1.2...\n",
"\t\t w_e: [ 3.49175374e-248 -2.73152689e+002 -7...\n",
"\t\t z_e: [ 0.00000000e+00 -2.73700089e+01 -1.284…\n",
"\t\t w_e: [-1.57254609e-232 -2.73152689e+002 -7.3…\n",
"\tControl variables:\n",
"\t\t Fz_e: [-1.16379952e+08 -1.13926397e+09 -8.2...\n"
"\t\t Fz_e: [-1.16379952e+08 -1.13926397e+09 -8.267…\n"
]
}
],
Expand Down Expand Up @@ -137,7 +137,7 @@
" derivative=-alpha * thrust,\n",
" variable=dyn.mass_props.mass,\n",
" with_respect_to=time,\n",
" method=\"midpoint\",\n",
" method=\"trapezoidal\",\n",
")\n",
"\n",
"### Boundary conditions\n",
Expand Down Expand Up @@ -168,6 +168,10 @@
"collapsed": false,
"pycharm": {
"name": "#%%\n"
},
"ExecuteTime": {
"end_time": "2024-01-30T06:36:27.655980900Z",
"start_time": "2024-01-30T06:36:26.592596800Z"
}
}
},
Expand Down

0 comments on commit 5d4f235

Please sign in to comment.