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


Ignore:
Timestamp:
2015-06-21T16:08:11-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r3005 r3018  
    155155
    156156(defmethod copy-instance :around ((object monom)  &rest initargs &key &allow-other-keys)
     157  "An :AROUNT method for COPY-INSTANCE. The primary method is a shallow copy,
     158  while for monomials we typically need a fresh copy of the
     159  exponents."
    157160  (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
    161161  (let ((copy (call-next-method)))
    162162    (setf (monom-exponents copy) (copy-seq (monom-exponents copy)))
Note: See TracChangeset for help on using the changeset viewer.