close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 2976 for branches


Ignore:
Timestamp:
2015-06-21T14:59:10-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/term.lisp

    r2975 r2976  
    7575       (setf (slot-value self 'coeff) coeff)))))
    7676
    77 (defmethod update-instance-for-different-class ((old monom) (new term) &key)
     77(defmethod update-instance-for-different-class :around ((old monom) (new term) &key)
    7878  ;; Changing an instance of class MONOM to class TERM may also
    7979  ;; happen when OLD is an instance of TERM, in which case the
    8080  ;; value of the coefficient should be preserved.
     81  (call-next-method)
    8182  (unless (slot-boundp new 'coeff)
    8283    (setf (term-coeff new) 1))
Note: See TracChangeset for help on using the changeset viewer.