Replace missing exponent.
This commit is contained in:
parent
e827fd3d08
commit
518e6a1541
2 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2008-08-25 Jay Belanger <jay.p.belanger@gmail.com>
|
||||
|
||||
* calc/calc-units.el (math-simplify-units-quotient): Replace
|
||||
missing exponent.
|
||||
|
||||
2008-08-24 Romain Francoise <romain@orebokech.com>
|
||||
|
||||
* progmodes/python.el (run-python): Remove '' from sys.path.
|
||||
|
|
|
|||
|
|
@ -1138,7 +1138,9 @@ Entries are (SYMBOL EXPR DOC-STRING TEMP-TYPE BASE-UNITS).")
|
|||
(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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue