We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49206ad commit 8d6245eCopy full SHA for 8d6245e
test/shared_utilities/utilities.jl
@@ -286,9 +286,9 @@ end
286
) (:info, "No NaNs found") ClimaLand.count_nans_state(Y)
287
288
# Add some NaNs to the fields
289
- parent(var1)[1] = NaN
290
- parent(var2)[1] = NaN
291
- parent(var2)[2] = NaN
+ Array(parent(var1))[1] = NaN
+ Array(parent(var2))[1] = NaN
+ Array(parent(var2))[2] = NaN
292
293
# Count and log the number of NaNs in the state
294
@test_logs (:info, "Checking NaNs in var1") (:warn, "1 NaNs found") (
0 commit comments