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


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

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/term.lisp

    r2904 r2905  
    7575       (setf (slot-value self 'coeff) coeff)))))
    7676
    77 ;; Changing an instance of class MONOM to class TERM may also
    78 ;; happen when OLD is an instance of TERM, in which case the
    79 ;; value of the coefficient should be preserved.
    8077(defmethod update-instance-for-different-class :after ((old monom) (new term) &key)
     78  ;; Changing an instance of class MONOM to class TERM may also
     79  ;; happen when OLD is an instance of TERM, in which case the
     80  ;; value of the coefficient should be preserved.
    8181  (unless (slot-boundp new 'coeff)
    8282    (setf (term-coeff new) 1))
Note: See TracChangeset for help on using the changeset viewer.