Skip to content

Commit 9b45661

Browse files
committed
minor fix
1 parent 65b149e commit 9b45661

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

math_library/symbolic_algebra.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ The book is available under a Creative Commons Attribution-ShareAlike 4.0 Intern
283283

284284
;(put 'equ? '(complex complex) (λ (x y) (= x y)))
285285
(put '=zero? '(complex) (λ (x) (= x 0)))
286-
(put 'negation '(complex) (λ (x) (sub 0 x)))
286+
(put 'negation '(complex) (λ (x) (- x)))
287287

288288
;(put 'exp '(complex complex) (λ (x y) (expt x y)))
289289

0 commit comments

Comments
 (0)