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 3345


Ignore:
Timestamp:
2015-06-23T11:39:03-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3344 r3345  
    8989                         :termlist (list old)))
    9090
    91 (defmethod update-instance-for-different-class :after ((old monom) (new poly) &key)
    92   "Converts OLD of class TERM to a NEW of class POLY, by making it into a 1-element TERMLIST."
    93   (reinitialize-instance new
    94                          :dimension (monom-dimension old)
    95                          :termlist (list (change-class old 'term))))
     91(defmethod update-instance-for-different-class :before ((old monom) (new poly) &key)
     92  (change-class old 'term))
    9693
    9794(defmethod r-equalp ((self poly) (other poly))
Note: See TracChangeset for help on using the changeset viewer.