You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia>@tullio C[k, l] := A[i, j, k, l] * B[i, j] |> sqrt; C[3,4] # sqrt outside the sum2.0930036101114573
julia>@tullio C[k, l] :=begin
A[i, j, k, l] * B[i, j] |> sqrt
end; C[3,4]
6.945564259296232
julia>@tullio C[k, l] :=sqrt(A[i, j, k, l] * B[i, j]); C[3,4] # sqrt is inside the sum6.945564259296232
julia> Base.:|>|> (generic function with 1 method)
julia><|
ERROR: UndefVarError:<| not defined
So the |> symbol within the begin end isn't being processed by the macro at all, it's just calling Base.:|>. And since there is no <|, that gives an error.
MWE:
The text was updated successfully, but these errors were encountered: