-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
broadcastApplying a function over a collectionApplying a function over a collectionbugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior
Description
Best explained by an example :
struct Foo{T}
a::Vector{T}
end
n = 10
x = Foo(ones(n))
y = ones(n)
@views x.a[2:end] .+= y[2:end] # <--- error The reported error is ERROR: syntax: invalid let syntax.
Confirmed on v1.7 and v1.5. Further discussion and a possible solution may be found on discourse here.
Metadata
Metadata
Assignees
Labels
broadcastApplying a function over a collectionApplying a function over a collectionbugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior