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


Ignore:
Timestamp:
2015-06-10T13:04:15-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r1120 r1121  
    284284            ((endp (cdddr expr))
    285285             (let ((num (p-eval (cadr expr)))
    286                    (denom-inverse (p-eval-scalar (cons '/ (last expr)))))
     286                   (denom-inverse (apply (ring-div ring) (last expr))))
    287287               (scalar-times-poly ring denom-inverse num)))
    288288            (t
    289289             (let ((num (p-eval (cadr expr)))
    290                    (denom-inverse (funcall (ring-div ring) (poly-lc (p-eval-scalar (cons '* (cddr expr)))))))
     290                   (denom-inverse (print (funcall (ring-div ring) (list* '* (ring-unit ring) (cddr expr))))))
    291291               (scalar-times-poly ring denom-inverse num)))))
    292292         (expt
Note: See TracChangeset for help on using the changeset viewer.