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.

Ignore:
Timestamp:
2015-06-18T19:38:40-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r2309 r2313  
    157157(defmethod r/ ((m1 monom) (m2 monom))
    158158  "Divide monomial M1 by monomial M2."
    159   (with-slots ((exponents1 exponents))
     159  (with-slots ((exponents1 exponents) (dimension1 dimension))
    160160      m1
    161161    (with-slots ((exponents2 exponents))
    162162        m2
    163163      (let* ((exponents (copy-seq exponents1))
    164              (dimension (reduce #'+ exponents)))
     164             (dimension (dimension1)))
    165165        (map-into exponents #'- exponents1 exponents2)
    166166        (make-instance 'monom :dimension dimension :exponents exponents)))))
Note: See TracChangeset for help on using the changeset viewer.