Changeset 3018
- Timestamp:
- 2015-06-21T16:08:11-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r3005 r3018 155 155 156 156 (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." 157 160 (declare (ignore object initargs)) 158 ;; The primary method of COPY-INSTANCE is a shallow copy,159 ;; while for monomials we typically need a fresh copy160 ;; of the exponents161 161 (let ((copy (call-next-method))) 162 162 (setf (monom-exponents copy) (copy-seq (monom-exponents copy)))
Note:
See TracChangeset
for help on using the changeset viewer.