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 2978 for branches


Ignore:
Timestamp:
2015-06-21T15:01:46-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/term.lisp

    r2977 r2978  
    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 :after ((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)
    8281  (unless (slot-boundp new 'coeff)
    83     (setf (term-coeff new) 1))
    84   new)
     82    (setf (term-coeff new) 1)))
     83
    8584
    8685#|
Note: See TracChangeset for help on using the changeset viewer.