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 3260


Ignore:
Timestamp:
2015-06-22T20:49:46-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3259 r3260  
    136136
    137137(defmethod multiply-by ((self poly) (other monom))
    138   (cond ((null (poly-dimension self))
    139          (setf (poly-dimension self) (monom-dimension other)))
    140         (t (assert (= (poly-dimension self) (monom-dimension other)))))
    141138  (mapc #'(lambda (term) (multiply-by term other))
    142139        (poly-termlist self))
     
    144141
    145142(defmethod multiply-by ((self poly) (other term))
    146   (cond ((null (poly-dimension self))
    147          (setf (poly-dimension self) (monom-dimension other)))
    148         (t (assert (= (poly-dimension self) (monom-dimension other)))))
    149143  (mapc #'(lambda (term) (multiply-by term other))
    150144        (poly-termlist self))
Note: See TracChangeset for help on using the changeset viewer.