Merge pull request #249 from LegendTejas/fix-issue-247-ktx

Fix #247 : replaced deprecated np.int and corrected formatting in exercises100.ktx
This commit is contained in:
Nicolas P. Rougier 2025-11-06 17:12:45 +01:00 committed by GitHub
commit 9642cab77c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -696,7 +696,7 @@ s = StringIO('''1, 2, 3, 4, 5
, , 9,10,11
''')
Z = np.genfromtxt(s, delimiter=",", dtype=np.int)
Z = np.genfromtxt(s, delimiter=",", dtype = int, filling_values = 0)
print(Z)
< q55