emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 4ba3439: * lisp/calc/calc-units.el (calc-convert-ex


From: Jay Belanger
Subject: [Emacs-diffs] master 4ba3439: * lisp/calc/calc-units.el (calc-convert-exact-units): Improve the
Date: Thu, 29 Jan 2015 03:38:21 +0000

branch: master
commit 4ba343984f1ea2bc87493339a315e13ba1410d28
Author: Jay Belanger <address@hidden>
Commit: Jay Belanger <address@hidden>

    * lisp/calc/calc-units.el (calc-convert-exact-units): Improve the
      simplification.
---
 lisp/calc/calc-units.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/calc/calc-units.el b/lisp/calc/calc-units.el
index 33cbcac..f3d0234 100644
--- a/lisp/calc/calc-units.el
+++ b/lisp/calc/calc-units.el
@@ -544,7 +544,7 @@ If COMP or STD is non-nil, put that in the units table 
instead."
        (let ((res
               (list '* (math-mul (math-remove-units expr)
                                  (math-simplify-units
-                                  (list '/ old-units units)))
+                                  (math-to-standard-units (list '/ old-units 
units) nil)))
                     units)))
          (calc-enter-result 1 "cvxu" res))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]