Samuel W. Flint 8 лет назад
Родитель
Сommit
af77a89536
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      lisp-cas.org

+ 2 - 3
lisp-cas.org

@@ -825,10 +825,9 @@ As there are various forms of expressions, and to provide for simplification, th
   (defun coefficient (term)
     (when (classified-as-p term 'polynomial-term)
       (classification-case term
-                           (variable 1)
-                           (power 1)
+                           (numeric term)
                            (multiplicative (second term))
-                           (numeric term))))
+                           (* 1))))
 #+END_SRC
 
 *** TODO Get Term Variables