- Timestamp:
- 2015-06-22T20:50:34-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3260 r3261 90 90 (defmethod insert-item ((self poly) (item term)) 91 91 (cond ((null (poly-dimension self)) 92 (setf (poly-dimension self) (monom-dimension other)))92 (setf (poly-dimension self) (monom-dimension item))) 93 93 (t (assert (= (poly-dimension self) (monom-dimension item))))) 94 94 (push item (poly-termlist self)) … … 97 97 (defmethod append-item ((self poly) (item term)) 98 98 (cond ((null (poly-dimension self)) 99 (setf (poly-dimension self) (monom-dimension other)))99 (setf (poly-dimension self) (monom-dimension item))) 100 100 (t (assert (= (poly-dimension self) (monom-dimension item))))) 101 101 (setf (cdr (last (poly-termlist self))) (list item))
Note:
See TracChangeset
for help on using the changeset viewer.