Skip to content

Commit

Permalink
made vertical grid equality work for GPUs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchor committed Oct 18, 2021
1 parent 3b934b5 commit 1cea014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OutputWriters/checkpointer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function set!(model, filepath::AbstractString)

# Validate the grid
checkpointed_grid = file["grid"]
model.grid == checkpointed_grid ||
CUDA.@allowscalar model.grid == checkpointed_grid ||
error("The grid associated with $filepath and model.grid are not the same!")

# Set model fields and tendency fields
Expand Down

0 comments on commit 1cea014

Please sign in to comment.