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


Ignore:
Timestamp:
2016-06-06T18:05:53-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/rational-field.lisp

    r4357 r4358  
    103103
    104104(defmethod universal-ezgcd ((object rational-field) (other rational-field))
    105   (with-slots (value)
    106       object
    107     (with-slots ((other-value value))
    108         other
    109       (values (make-instance 'rational-field :value 1)
    110               (make-instance 'integer-ring :value value)
    111               (make-instance 'integer-ring :value other-value)))))
     105  (values (copy-instance *rational-field-unit*)
     106          (copy-instance object)
     107          (copy-instance other)))
Note: See TracChangeset for help on using the changeset viewer.