Skip to content

Commit

Permalink
Merge pull request #1193 from cbm755/elementwise_op
Browse files Browse the repository at this point in the history
elementwise_op: not necessary for q to be mutable
  • Loading branch information
cbm755 committed Jul 17, 2022
2 parents 0b66050 + 2e570d5 commit 1b9849e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/@sym/private/elementwise_op.m
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
'for A in _ins:'
' if isinstance(A, MatrixBase):'
' if q is None:'
' q = A.as_mutable()'
' q = A'
' else:'
' assert q.shape == A.shape, "Matrices in input must all have the same shape"'
% all inputs were scalars:
Expand Down

0 comments on commit 1b9849e

Please sign in to comment.