Преглед изворни кода

Added a couple of conditions

Samuel W. Flint пре 9 година
родитељ
комит
d9af31c54e
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      manipulation.org

+ 2 - 0
manipulation.org

@@ -584,6 +584,8 @@ Foo
 
   (defun get-power (term)
     (cond
+      ((classified-as-p term 'numeric) 0)
+      ((classified-as-p term 'variable) 1)
       ((classified-as-p term 'power) (third term))
       ((classified-as-p term 'polynomial-term) (third (third term)))
       (t 0)))