forked from TheAlgorithms/Python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 3014930
Update absMax.py (TheAlgorithms#602)
* Update absMax.py
Fixed two bugs
* changed to abs instead of absVal1 parent 3c80364 commit 3014930
1 file changed
+5
-7
lines changedLines changed: 5 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | - | ||
2 | - | ||
3 | 1 |
| |
4 | 2 |
| |
5 | 3 |
| |
| |||
9 | 7 |
| |
10 | 8 |
| |
11 | 9 |
| |
12 | - | ||
10 | + | ||
13 | 11 |
| |
14 | 12 |
| |
15 | - | ||
16 | - | ||
13 | + | ||
17 | 14 |
| |
18 | 15 |
| |
19 | - | ||
20 | - | ||
16 | + | ||
17 | + | ||
18 | + | ||
21 | 19 |
| |
22 | 20 |
| |
23 | 21 |
| |
|
0 commit comments