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 2971


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

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/term.lisp

    r2970 r2971  
    7575       (setf (slot-value self 'coeff) coeff)))))
    7676
    77 (defmethod update-instance-for-different-class :after ((old monom) (new term) &key)
     77(defmethod update-instance-for-different-class ((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))
    83   new)
     84  )
    8485
    8586#|
Note: See TracChangeset for help on using the changeset viewer.