Commit 38fd9e7
Ildhesten
get_top_drawdowns now checks if underwater is all 0, that is there is no drawdowns left, this prevents a possible out of bounds error in get_max_drawdown_underwater getting the peak value.
1 parent 30904bb commit 38fd9e7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
963 | 963 | | |
964 | 964 | | |
965 | 965 | | |
966 | | - | |
| 966 | + | |
967 | 967 | | |
968 | 968 | | |
969 | 969 | | |
| |||
0 commit comments