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


Ignore:
Timestamp:
2015-06-21T23:25:21-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3094 r3095  
    5656    self))
    5757
    58 (defun alist->poly (alist &aux (make-instance 'poly))
     58(defun alist->poly (alist &aux (poly (make-instance 'poly)))
    5959  "It reads polynomial from an alist formatted as ( ... (exponents . coeff) ...)."
    6060  (dolist (x alist)
    61     (insert-item p (make-instance 'term :exponents (car x) :coeff (cdr x))))
     61    (insert-item poly (make-instance 'term :exponents (car x) :coeff (cdr x)))))
    6262
    6363
Note: See TracChangeset for help on using the changeset viewer.