We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65b149e commit 9b45661Copy full SHA for 9b45661
1 file changed
math_library/symbolic_algebra.rkt
@@ -283,7 +283,7 @@ The book is available under a Creative Commons Attribution-ShareAlike 4.0 Intern
283
284
;(put 'equ? '(complex complex) (λ (x y) (= x y)))
285
(put '=zero? '(complex) (λ (x) (= x 0)))
286
- (put 'negation '(complex) (λ (x) (sub 0 x)))
+ (put 'negation '(complex) (λ (x) (- x)))
287
288
;(put 'exp '(complex complex) (λ (x y) (expt x y)))
289
0 commit comments