From: Kris K. <kj...@us...> - 2013-11-16 02:05:05
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Maxima CAS". The branch, master has been updated via d42f873fc20784058b0eafb094cc0f72fe41d863 (commit) via 1a5f12982fc328f7e6194088889986befed232f8 (commit) from 17ca3356b3fc48cc4f8cd1c5bd103e1f9c07b6c9 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d42f873fc20784058b0eafb094cc0f72fe41d863 Author: Kris Katterjohn <kat...@gm...> Date: Fri Nov 15 19:38:57 2013 -0600 Let truncate() distribute over bags diff --git a/src/nummod.lisp b/src/nummod.lisp index a98537e..f5388dd 100644 --- a/src/nummod.lisp +++ b/src/nummod.lisp @@ -334,6 +334,9 @@ (setf (get '$truncate 'verb) '%truncate) (setf (get '%truncate 'noun) '$truncate) +;; truncate distributes over lists, matrices, and equations. +(setf (get '%truncate 'distribute_over) '(mlist $matrix mequal)) + (defun simp-truncate (e yy z) (oneargcheck e) (setq yy (caar e)) ;; find a use for the otherwise unused YY. commit 1a5f12982fc328f7e6194088889986befed232f8 Author: Kris Katterjohn <kat...@gm...> Date: Fri Nov 15 19:33:01 2013 -0600 Fix round() to distribute over bags diff --git a/src/nummod.lisp b/src/nummod.lisp index f5e462a..a98537e 100644 --- a/src/nummod.lisp +++ b/src/nummod.lisp @@ -303,8 +303,8 @@ (setf (get '$round 'verb) '%round) (setf (get '%round 'noun) '$round) -;; $round distributes over lists, matrices, and equations. -(setf (get '$round 'distribute_over) '(mlist $matrix mequal)) +;; round distributes over lists, matrices, and equations. +(setf (get '%round 'distribute_over) '(mlist $matrix mequal)) (defun simp-round (e yy z) (oneargcheck e) ----------------------------------------------------------------------- Summary of changes: src/nummod.lisp | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) hooks/post-receive -- Maxima CAS |