File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 115115 " y0=flat_y0,\n " ,
116116 " t_eval=t_eval,\n " ,
117117 " )\n " ,
118- " return pytree.unflatten(treedef, flat_solution.y)\n "
118+ " return pytree.unflatten(treedef, flat_solution.y)"
119119 ]
120120 },
121121 {
153153 " y=20 * u.m / u.s,\n " ,
154154 " )\n " ,
155155 " * object_mass\n " ,
156- " )\n "
156+ " )"
157157 ]
158158 },
159159 {
183183 " position, momentum = state\n " ,
184184 " dposition_dt = momentum / object_mass\n " ,
185185 " dmomentum_dt = force(position, momentum)\n " ,
186- " return (dposition_dt, dmomentum_dt)\n "
186+ " return (dposition_dt, dmomentum_dt)"
187187 ]
188188 },
189189 {
258258 " ax.set_xlabel(\" x (m)\" )\n " ,
259259 " ax.set_ylabel(\" y (m)\" )\n " ,
260260 " ax.set_title(\" Projectile motion\" )\n " ,
261- " ax.legend()\n "
261+ " ax.legend()"
262262 ]
263263 },
264264 {
You can’t perform that action at this time.
0 commit comments