# HG changeset patch # User Jay Belanger # Date 1219697601 0 # Node ID b69a2f9175730311765a5129142a2bbcc7bd05c4 # Parent 54fa0c487055a511bbe7daf524ba4e64d1b9efa2 Replace missing exponent. diff -r 54fa0c487055 -r b69a2f917573 lisp/calc/calc-units.el --- a/lisp/calc/calc-units.el Sun Aug 24 19:47:23 2008 +0000 +++ b/lisp/calc/calc-units.el Mon Aug 25 20:53:21 2008 +0000 @@ -1138,7 +1138,9 @@ (and un ud (if (and (equal (nth 4 un) (nth 4 ud)) (eq pow1 pow2)) - (math-to-standard-units (list '/ n d) nil) + (if (eq pow1 1) + (math-to-standard-units (list '/ n d) nil) + (list '^ (math-to-standard-units (list '/ n d) nil) pow1)) (let (ud1) (setq un (nth 4 un) ud (nth 4 ud))