Skip to content
New issue

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

Macro hygeine of TensorCast symbol #72

Open
MilesCranmer opened this issue Apr 10, 2024 · 1 comment · May be fixed by #74
Open

Macro hygeine of TensorCast symbol #72

MilesCranmer opened this issue Apr 10, 2024 · 1 comment · May be fixed by #74

Comments

@MilesCranmer
Copy link

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
@mcabbott
Copy link
Owner

Dup of #64. Somewhere I have a branch...

@mcabbott mcabbott linked a pull request Apr 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants