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 3792 for branches


Ignore:
Timestamp:
2016-05-27T21:55:01-07:00 (8 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r3791 r3792  
    533533and powers of some variables, such as 5*X^2*Y^3."))
    534534
    535 (defmethod update-instance-for-different-class :before ((old monom) (new term) &key (coeff 1))
     535(defmethod update-instance-for-different-class :after ((old monom) (new term) &key (coeff 1))
    536536  "Converts OLD of class MONOM to a NEW of class TERM."
    537   (reinitialize-instance new
    538                          :exponents (monom-exponents old)
    539                          :coeff coeff))
    540 
     537  (reinitialize-instance new :coeff coeff))
    541538
    542539(defmethod print-object ((self term) stream)
Note: See TracChangeset for help on using the changeset viewer.