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


Ignore:
Timestamp:
2015-06-21T15:45:22-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r3004 r3005  
    156156(defmethod copy-instance :around ((object monom)  &rest initargs &key &allow-other-keys)
    157157  (declare (ignore object initargs))
     158  ;; The primary method of COPY-INSTANCE is a shallow copy,
     159  ;; while for monomials we typically need a fresh copy
     160  ;; of the exponents
    158161  (let ((copy (call-next-method)))
    159162    (setf (monom-exponents copy) (copy-seq (monom-exponents copy)))
Note: See TracChangeset for help on using the changeset viewer.