close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 1107


Ignore:
Timestamp:
2015-06-10T11:25:03-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r1106 r1107  
    276276              (reduce #'(lambda (p q) (poly-mul ring-and-order p q)) (p-eval-list (cdr expr)))))
    277277         (/
     278          (print expr)
    278279          ;; A polynomial can be divided by a scalar
    279           (cond ((= (length expr) 1)
    280                  (funcall (ring-div ring) (car expr)))
     280          (cond ((endp (cddr expr))
     281                 (apply (ring-div ring) (cdr expr)))
    281282                ))
    282283         (expt
Note: See TracChangeset for help on using the changeset viewer.