Skip to content

Commit f1af31b

Browse files
Fix incorrect sign for minus operation
1 parent 03ba476 commit f1af31b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/+otp/RHS.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
end
7070

7171
function newRHS = minus(obj1, obj2)
72-
newRHS = applyOp(obj1, obj2, @minus, @(r, ~) r, @(~, r) r, @minus);
72+
newRHS = applyOp(obj1, obj2, @minus, @(r, ~) r, @(~, r) -r, @minus);
7373
end
7474

7575
function newRHS = mtimes(obj1, obj2)

0 commit comments

Comments
 (0)