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


Ignore:
Timestamp:
2015-06-09T00:27:18-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/term.lisp

    r825 r826  
    5454defaults to the unit of the RING."
    5555  (declare (fixnum nvars pos power))
    56   (let ((result (make-term (make-monom nvars) coeff)))
    57     (setf (monom-elt (monom-exponents result) pos) power)
    58     result))
     56  (let ((m (make-monom nvars)))
     57    (setf (monom-elt m pos) power)
     58    (make-term m coeff)))
    5959
    6060(defun term-mul (ring term1 term2)
Note: See TracChangeset for help on using the changeset viewer.