NAN is sometimes used by some programmers when numpy was 1.x but now on 2.x the caps version is disallowed.

Added the caps conversion to lower case nan to fix that automatically.

Source:
https://numpy.org/doc/2.0/reference/constants.html?utm_source=chatgpt.com
NaN and NAN are aliases of nan.
This commit is contained in:
hippocritical
2025-10-24 08:11:44 +02:00
parent bf7fc79519
commit c2fd6e3237

View File

@@ -46,6 +46,7 @@ class StrategyUpdater:
"aliases": set(),
"replacements": [
("NaN", "nan"),
("NAN", "nan"),
],
}
}