Changeset 3260 for branches/f4grobner
- Timestamp:
- 2015-06-22T20:49:46-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3259 r3260 136 136 137 137 (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)))))141 138 (mapc #'(lambda (term) (multiply-by term other)) 142 139 (poly-termlist self)) … … 144 141 145 142 (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)))))149 143 (mapc #'(lambda (term) (multiply-by term other)) 150 144 (poly-termlist self))
Note:
See TracChangeset
for help on using the changeset viewer.