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


Ignore:
Timestamp:
2016-06-04T13:27:49-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r4215 r4216  
    403403  (add-to self (change-class other-copy 'poly)))
    404404
    405 (defmethod subtract-from ((self poly) (other term))
     405(defmethod subtract-from ((self poly) (other term) &aux (other-copy (copy-instance other)))
    406406  "Subtracts from a polynomial SELF a term OTHER. The term OTHER is not
    407407modified."
    408   (subtract-from self (change-class (copy-instance other) 'poly)))
     408  (subtract-from self (change-class other-copy 'poly)))
    409409
    410410
Note: See TracChangeset for help on using the changeset viewer.