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


Ignore:
Timestamp:
2015-06-17T21:56:47-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r2163 r2167  
    131131(defmethod r* ((m1 monom) (m2 monom))
    132132  "Multiply monomial M1 by monomial M2."
    133   (with-slots ((exponents1 exponents))
     133  (with-slots ((exponents1 exponents) dimension)
    134134      m1
    135135    (with-slots ((exponents2 exponents))
    136136        m2
    137       (let* ((exponents (copy-seq exponents1))
    138              (dim (reduce #'+ exponents)))
     137      (let* ((exponents (copy-seq exponents1)))
    139138        (map-into exponents #'+ exponents1 exponents2)
    140         (make-instance 'monom :dim dim :exponents exponents)))))
     139        (make-instance 'monom :dim dimension :exponents exponents)))))
    141140
    142141
Note: See TracChangeset for help on using the changeset viewer.