projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f956b0
)
Corrected some bugs in the scale of graphs.
author
fabrizio.benedetti.82
<devnull@localhost>
Mon, 1 Mar 2010 13:50:51 +0000
(13:50 +0000)
committer
fabrizio.benedetti.82
<devnull@localhost>
Mon, 1 Mar 2010 13:50:51 +0000
(13:50 +0000)
libhooke.py
patch
|
blob
|
history
diff --git
a/libhooke.py
b/libhooke.py
index 5da0508a918660d38b84736883e5b3f1b8ac32e7..9bb1ead81a760517bb286cc37472f5e2d16bad7e 100755
(executable)
--- a/
libhooke.py
+++ b/
libhooke.py
@@
-279,9
+279,9
@@
from the current ticks.
oom = numpy.floor(numpy.log10(mrange))
else:
if locs[0] > locs[-1]:
- val = locs[-1]
- else:
val = locs[0]
+ else:
+ val = locs[-1]
if val == 0:
oom = 0
else: