Skip to content

Commit

Permalink
Merge pull request #59 from thomasrussellmurphy/fix-dsdemo3-slicing
Browse files Browse the repository at this point in the history
Fixing mis-indexed slice operation in dsdemo3
  • Loading branch information
ggventurini committed Jul 28, 2015
2 parents 826ccbc + 07e282c commit d015a9b
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 d015a9b

Please sign in to comment.