diff --git a/examples/tutorial_3_LUPA.ipynb b/examples/tutorial_3_LUPA.ipynb index a9a93dbce..4cd34c1bc 100644 --- a/examples/tutorial_3_LUPA.ipynb +++ b/examples/tutorial_3_LUPA.ipynb @@ -1143,8 +1143,7 @@ "# Torque\n", "pto_tdom.sel(realization=0).force.plot(\n", " ax=ax_res1[2], linestyle='solid', color='black', label='PTO trq.')\n", - "pto_rms_tq = np.sqrt(np.mean(pto_tdom.sel(realization=0).force.values**2)\n", - " / pto_tdom.sel(realization=0).time.values[-1])\n", + "pto_rms_tq = np.sqrt(np.mean(pto_tdom.sel(realization=0).force.values**2))\n", "ax_res1[2].plot(\n", " pto_tdom.sel(realization=0).time, pto_rms_tq *\n", " np.ones(pto_tdom.sel(realization=0).time.shape),\n",