Changeset 3164 for branches/f4grobner
- Timestamp:
- 2015-06-22T13:15:01-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/term.lisp
r3163 r3164 79 79 |# 80 80 81 (defmethod update-instance-for-different-class ((old monom) (new term) 82 &rest initargs &key &allow-other-keys) 83 ;; Changing an instance of class MONOM to class TERM may also 84 ;; happen when OLD is an instance of TERM, in which case the 85 ;; value of the coefficient should be preserved. 86 `(call-next-method :coeff 1 ,@initargs)) 81 (defmethod update-instance-for-different-class :after ((old monom) (new term) 82 &rest 83 initargs 84 &key 85 &allow-other-keys) 86 (setf (scalar-coeff new) 1)) 87 87 88 88 89 #|
Note:
See TracChangeset
for help on using the changeset viewer.