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 3677


Ignore:
Timestamp:
2015-09-06T05:28:30-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3676 r3677  
    438438(defgeneric poly-content (object)
    439439  (:documentation "Greatest common divisor of the coefficients of the polynomial object OBJECT.")
    440   (reduce #'universal-gcd (mapcar #'term-coeff (rest (poly-termlist p))) :initial-value (leading-coefficient p)))
     440  (:method ((self poly))
     441    (reduce #'universal-gcd
     442            (mapcar #'term-coeff (rest (poly-termlist p)))
     443            :initial-value (leading-coefficient p))))
    441444
    442445#|
Note: See TracChangeset for help on using the changeset viewer.