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 4304 for branches


Ignore:
Timestamp:
2016-06-04T22:24:31-07:00 (8 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/integer-ring.lisp

    r4300 r4304  
    2222(defpackage "INTEGER-RING"
    2323  (:use :cl :copy :ring :rational-field)
     24  (:shadowing-import-from "RATIONAL-FIELD" value)
    2425  (:export "INTEGER-RING"
    2526           "INTEGER-RING-VALUE"
     
    5657      (1 self)
    5758      (-1 self)
    58       (otherwise (error "Non-invertible ring element: ~S" self)))))
     59      (otherwise
     60       (unary-inverse (change-class self 'rational-field))))))
    5961
    6062(defmethod universal-gcd ((self integer-ring) (other integer-ring))
Note: See TracChangeset for help on using the changeset viewer.