Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion episodes/04-defensive_programming.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ check_sign(val)
```

```output
Value: nan is a number.
Value: nan is negative.
```

However numpy does provide the `isnan()` function for testing if a value is NaN. Add an assertion test using this which will raise and error if the value is NaN.
Expand Down
Loading