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 3257


Ignore:
Timestamp:
2015-06-22T20:45:30-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3256 r3257  
    138138  (cond ((null (poly-dimension self))
    139139         (setf (poly-dimension self) (monom-dimension other)))
    140         (t (assert (= (monom-dimension item) (poly-dimension self)))))
     140        (t (assert (= (poly-dimension self) (monom-dimension other)))))
    141141  (mapc #'(lambda (term) (multiply-by term other))
    142142        (poly-termlist self))
     
    146146  (cond ((null (poly-dimension self))
    147147         (setf (poly-dimension self) (monom-dimension other)))
    148         (t (assert (= (monom-dimension item) (poly-dimension self)))))
     148        (t (assert (= (poly-dimension self) (monom-dimension other)))))
    149149  (mapc #'(lambda (term) (multiply-by term other))
    150150        (poly-termlist self))
     
    286286
    287287(defmethod multiply-by ((self poly) (other poly))
    288   (cond ((null (poly-dimension self))
    289          (setf (poly-dimension self) (monom-dimension other)))
    290         (t (assert (= (monom-dimension item) (poly-dimension self)))))
     288  (assert (= (monom-dimension self) (poly-dimension other)))
    291289  (change-term-order other self)
    292290  (setf (poly-termlist self) (multiply-termlists (poly-termlist self)
Note: See TracChangeset for help on using the changeset viewer.