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.

Ignore:
Timestamp:
2015-06-19T16:18:24-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/5am-monom.lisp

    r2555 r2556  
    181181        (q (make-instance 'poly)))
    182182    (dotimes (i 10)
    183       (insert-item p (make-instance 'term :exponents (list i (* 2 i)) :coeff (1+ (* 3 i))))
    184       (insert-item q (make-instance 'term :exponents (list (+ i 5) (+ (* 2 i) 3)) :coeff (1- (* 3 i)))))
     183      (insert-item p (make-instance 'term :exponents (list (* 3 i)) :coeff (1+ (* 3 i))))
     184      (insert-item q (make-instance 'term :exponents (list (+ (* 3 i) 5) (+ (* 2 i) 3)) :coeff (1- (* 3 i)))))
    185185    (is-true (print p))
    186186    (is-true (print q))
     187    (add-to p q)
     188    (is-true (print p))
    187189  ))
    188190
Note: See TracChangeset for help on using the changeset viewer.