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 2866


Ignore:
Timestamp:
2015-06-21T11:16:49-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/term.lisp

    r2854 r2866  
    5757  (and (r-equalp (term-coeff term1) (term-coeff term2))
    5858       (call-next-method)))
     59
     60(defmethod r-clone :around ((self term))
     61  (let ((copy (call-next-method)))
     62    (change-class copy 'term)
     63    (setf (term-coeff copy) (r-clone (term-coeff self)))))
    5964
    6065(defmethod print-object ((self term) stream)
Note: See TracChangeset for help on using the changeset viewer.