Skip to content

Macro hygeine of TensorCast symbol #72

@MilesCranmer

Description

@MilesCranmer

Seems like there is a macro hygeine issue for complex tensor casts:

julia> using TensorCast: @cast

julia> X = ones(2, 3); Y = ones(5);

julia> @cast Z[i, j, k] := X[i, j] * Y[k];
ERROR: UndefVarError: `TensorCast` not defined
Stacktrace:
 [1] top-level scope
   @ ~/.julia/packages/TensorCast/gBujg/src/macro.jl:209

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions