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 4288


Ignore:
Timestamp:
2016-06-04T21:28:13-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r4287 r4288  
    637637       (let ((pos (position expr vars :test #'equalp)))
    638638         (make-poly-variable (length vars) pos)))
    639       ((integerp expr)
    640        (make-poly-constant (length vars) (make-instance 'integer-ring :value expr)))
     639      ((rational expr)
     640       (make-poly-constant (length vars) (make-instance 'rational-ring :value expr)))
    641641      ((eq (car expr) +list-marker+)
    642642       (cons +list-marker+ (p-eval-list (cdr expr))))
Note: See TracChangeset for help on using the changeset viewer.