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 2900


Ignore:
Timestamp:
2015-06-21T12:13:33-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/term.lisp

    r2899 r2900  
    7575       (setf (slot-value self 'coeff) coeff)))))
    7676
    77 (defmethod update-instance-for-different-class
    78     ((old monom)
    79      (new term)
    80      &key)
    8177  ;; Changing an instance of class MONOM to class TERM may also
    8278  ;; happen when OLD is an instance of TERM, in which case the
    8379  ;; value of the coefficient should be preserved.
     80(defmethod update-instance-for-different-class ((old monom)
     81                                                (new term)
     82                                                &key)
     83(call-next-method)
    8484  (unless (slot-boundp new 'coeff)
    85     (setf (term-coeff new) 1))
    86   (call-next-method))
     85    (setf (term-coeff new) 1)))
     86
    8787
    8888#|
Note: See TracChangeset for help on using the changeset viewer.