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 3877


Ignore:
Timestamp:
2016-05-28T20:50:44-07:00 (8 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3869 r3877  
    127127    (poly-insert-term poly (make-instance 'term :exponents (car x) :coeff (cdr x)))))
    128128
    129 (defmethod update-instance-for-different-class :before ((old term) (new poly) &key)
     129(defmethod update-instance-for-different-class :after ((old term) (new poly) &key)
    130130  "Converts OLD of class TERM to a NEW of class POLY, by making it into a 1-element TERMLIST."
    131131  (reinitialize-instance new
     
    133133                         :termlist (list old)))
    134134
    135 (defmethod update-instance-for-different-class :before ((old monom) (new poly) &key)
     135(defmethod update-instance-for-different-class :after ((old monom) (new poly) &key)
    136136  "Converts OLD of class MONOM to a NEW of class POLY, by making it into a 1-element TERMLIST."
    137137  (reinitialize-instance new
Note: See TracChangeset for help on using the changeset viewer.