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 3158 for branches/f4grobner


Ignore:
Timestamp:
2015-06-22T12:10:43-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/term.lisp

    r3157 r3158  
    7272|#
    7373
    74 (defmethod update-instance-for-different-class :after ((old monom) (new term) &key)
     74(defmethod update-instance-for-different-class ((old monom) (new term)
     75                                                &rest initargs &key &allow-other-keys)
    7576  ;; Changing an instance of class MONOM to class TERM may also
    7677  ;; happen when OLD is an instance of TERM, in which case the
    7778  ;; value of the coefficient should be preserved.
    78   (unless (slot-boundp new 'coeff)
    79     (setf (scalar-coeff new) 1))
    80   new)
     79  (apply #'call-next-method (list* old new :coeff 1 nitargs)))
    8180
    8281#|
Note: See TracChangeset for help on using the changeset viewer.