Skip to content

Commit

Permalink
Fixed incorrectly referenced variable
Browse files Browse the repository at this point in the history
  • Loading branch information
brainandforce committed May 8, 2024
1 parent 554f035 commit b71094b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multiply.jl
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function product_return_type(
::ContractionGradeFilters
) where {Q,K1,K2}
K = abs(K1 - K2)
return KVector{K, Q, promote_scalar_type(X, Y), binomial(dimension(Q), k)}
return KVector{K, Q, promote_scalar_type(X, Y), binomial(dimension(Q), K)}
end

function product_return_type(
Expand Down

0 comments on commit b71094b

Please sign in to comment.