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 2320 for branches


Ignore:
Timestamp:
2015-06-18T19:44:22-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r2319 r2320  
    240240(defmethod r-gcd ((m1 monom) (m2 monom))
    241241  "Returns greatest common divisor of monomials M1 and M2."
    242   (with-slots ((exponents1 exponents))
     242  (with-slots ((exponents1 exponents) (dimension1 dimension))
    243243      m1
    244244    (with-slots ((exponents2 exponents))
    245245        m2
    246246      (let* ((exponents (copy-seq exponents1))
    247              (dimension (reduce #'+ exponents)))
     247             (dimension dimension1))
    248248        (map-into exponents #'min exponents1 exponents2)
    249249        (make-instance 'monom :dimension dimension :exponents exponents)))))
Note: See TracChangeset for help on using the changeset viewer.