Skip to content

Commit

Permalink
Fixing mis-indexed slice operation in dsdemo3
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrussellmurphy committed Jul 28, 2015
1 parent 826ccbc commit 07e282c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/dsdemo3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@
" maxima[:, i] = np.squeeze(xmax)\n",
" if any(xmax > 1e2):\n",
" umax = ui;\n",
" u = u[:i+1];\n",
" u = u[:i];\n",
" maxima = maxima[:, :i]\n",
" break;\n",
"# save the maxima\n",
Expand Down

0 comments on commit 07e282c

Please sign in to comment.