Changeset 3148 for branches/f4grobner/term.lisp
- Timestamp:
- 2015-06-22T11:49:25-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/term.lisp
r3147 r3148 66 66 |# 67 67 68 (defmethod update-instance-for-different-class :after((old monom) (new term) &key)68 (defmethod update-instance-for-different-class ((old monom) (new term) &key) 69 69 ;; Changing an instance of class MONOM to class TERM may also 70 70 ;; happen when OLD is an instance of TERM, in which case the 71 71 ;; value of the coefficient should be preserved. 72 (call-next-method) 72 73 (unless (slot-boundp new 'coeff) 73 74 (setf (scalar-coeff new) 1))
Note:
See TracChangeset
for help on using the changeset viewer.