Changeset 3005
- Timestamp:
- 2015-06-21T15:45:22-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r3004 r3005 156 156 (defmethod copy-instance :around ((object monom) &rest initargs &key &allow-other-keys) 157 157 (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 158 161 (let ((copy (call-next-method))) 159 162 (setf (monom-exponents copy) (copy-seq (monom-exponents copy)))
Note:
See TracChangeset
for help on using the changeset viewer.