Skip to content

Commit 86fefa9

Browse files
committed
markdown source builds
Auto-generated via `{sandpaper}` Source : 33cf6a0 Branch : main Author : scottan <33283688+Scottan@users.noreply.github.com> Time : 2026-05-06 10:46:25 +0000 Message : Merge pull request #108 from UoMResearchIT/107-correct-output-for-nan-test-in-defensive-programming Update 04-defensive_programming.md
1 parent b130ff4 commit 86fefa9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

04-defensive_programming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ check_sign(val)
256256
```
257257

258258
```output
259-
Value: nan is a number.
259+
Value: nan is negative.
260260
```
261261

262262
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.

md5sum.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"episodes/01-introduction.md" "45f9d3a720eff2bfc316a2bbe0dafcd5" "site/built/01-introduction.md" "2026-04-21"
88
"episodes/02-dictionaries.md" "01d0b5ca498525f3fff069efae731735" "site/built/02-dictionaries.md" "2026-04-21"
99
"episodes/03-numpy_essential.md" "b1bc2d8b36e7bf87aa19a15ef7b398da" "site/built/03-numpy_essential.md" "2026-04-22"
10-
"episodes/04-defensive_programming.md" "c185aea66ccd273e5d38d37f51cd07f0" "site/built/04-defensive_programming.md" "2026-04-24"
10+
"episodes/04-defensive_programming.md" "ce45abd6568655cc3d9ad19c15be27db" "site/built/04-defensive_programming.md" "2026-05-06"
1111
"episodes/05-units_and_quantities.md" "80b2c978e8e059a4e0fabf00c741db5b" "site/built/05-units_and_quantities.md" "2026-04-23"
1212
"episodes/06-pandas_essential.md" "b1059ad5fe7b7c4fcaf16c49e8e44bc5" "site/built/06-pandas_essential.md" "2026-04-23"
1313
"episodes/07-software_package_management.md" "bad70f7e80ca5eef51b9303b81e5d717" "site/built/07-software_package_management.md" "2026-04-24"

0 commit comments

Comments
 (0)