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


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

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r4281 r4287  
    637637       (let ((pos (position expr vars :test #'equalp)))
    638638         (make-poly-variable (length vars) pos)))
    639       ((numberp expr)
    640        (make-poly-constant (length vars) expr))
     639      ((integerp expr)
     640       (make-poly-constant (length vars) (make-instance 'integer-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.