We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm now using SetGrid to make a grid wide operation and an error occur. Even for a basic test operation like the example
using DynamicGrids rule = SetGrid{:a,:b}() do a, b b .= a end
the error is MethodError: no method matching (::var"#53#54")(::DynamicGrids.RuleData{…}, ::DimArray{…}, ::DimArray{…})
MethodError: no method matching (::var"#53#54")(::DynamicGrids.RuleData{…}, ::DimArray{…}, ::DimArray{…})
is it due to DimArray use ?
The text was updated successfully, but these errors were encountered:
No, you are just missing the first argument before a
a
DynamicGrids passes you the data object in case you need the timestep or aux data etc.
data
But try not to use SetGrid unless you have to, you lose a lot of optimisations you get in a regular rule, and you can't chain operations on GPU.
Sorry, something went wrong.
No branches or pull requests
I'm now using SetGrid to make a grid wide operation and an error occur. Even for a basic test operation like the example
the error is
MethodError: no method matching (::var"#53#54")(::DynamicGrids.RuleData{…}, ::DimArray{…}, ::DimArray{…})
is it due to DimArray use ?
The text was updated successfully, but these errors were encountered: