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.

Ignore:
Timestamp:
2016-06-17T12:26:21-07:00 (8 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial-sugar.lisp

    r4514 r4515  
    3333
    3434(defmethod update-instance-for-different-class :after ((old monom) (new monom-with-sugar) &key)
    35   "Add sugar to every term."
     35  "Add sugar."
    3636  (reinitialize-instance new :value (static-sugar new)))
    3737
     
    6161      (format stream "EXPONENTS=~A COEFF=~A SUGAR=~A"
    6262              exponents coeff value))))
     63
     64(defmethod update-instance-for-different-class :after ((old term) (new term-with-sugar) &key)
     65  "Add sugar."
     66  (reinitialize-instance new :value (static-sugar new)))
     67
     68
    6369
    6470(defclass poly-with-sugar (poly sugar) ())
Note: See TracChangeset for help on using the changeset viewer.