- Timestamp:
- 2015-06-21T12:29:55-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/term.lisp
r2904 r2905 75 75 (setf (slot-value self 'coeff) coeff))))) 76 76 77 ;; Changing an instance of class MONOM to class TERM may also78 ;; happen when OLD is an instance of TERM, in which case the79 ;; value of the coefficient should be preserved.80 77 (defmethod update-instance-for-different-class :after ((old monom) (new term) &key) 78 ;; Changing an instance of class MONOM to class TERM may also 79 ;; happen when OLD is an instance of TERM, in which case the 80 ;; value of the coefficient should be preserved. 81 81 (unless (slot-boundp new 'coeff) 82 82 (setf (term-coeff new) 1))
Note:
See TracChangeset
for help on using the changeset viewer.