Skip to content

Commit

Permalink
Update src/interface.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Mar 24, 2024
1 parent 62c8f4d commit f00bd50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ function mutability(
op::typeof(*),
args::Vararg{Any,N},
) where {N}
is_mutable = mutability(typeof(x), op, typeof.(args)...)
is_mutable = mutability(typeof(x), op, typeof.(args)...) == IsMutable()
if is_mutable && size(x) == _size_after_multiply(size.(args)...)
return IsMutable()
end
Expand Down

0 comments on commit f00bd50

Please sign in to comment.