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 50b3f08 commit 67c9e0eCopy full SHA for 67c9e0e
src/Fields/set!.jl
@@ -33,7 +33,7 @@ end
33
# This interface helps us do things like set distributed fields
34
set!(u::Field, f::Function) = set_to_function!(u, f)
35
set!(u::Field, a::Union{Array, OffsetArray}) = _set(u, a)
36
-_set(u::Field, a::VT) where {VT} = set_to_array!(u, a)
+_set!(u::Field, a::VT) where {VT} = set_to_array!(u, a)
37
set!(u::Field, v::Field) = set_to_field!(u, v)
38
39
function set!(u::Field, a::Number)
0 commit comments