Changeset 4259
- Timestamp:
- 2016-06-04T20:35:38-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/integer-ring.lisp
r4255 r4259 57 57 self) 58 58 59 (defmethod 59 (defmethod divide-by ((self integer-ring) (other integer-ring)) 60 60 (with-slots (value) 61 61 self 62 62 (with-slots ((other-value value)) 63 63 other 64 (assert (zerop (mod value other-value))) 64 65 (setf value (/ value other-value)))) 65 66 self)
Note:
See TracChangeset
for help on using the changeset viewer.