projects
/
sawsim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fe002f
)
Relax precision in pysawsim.histogram.Histogram bin_edges doctest.
author
W. Trevor King
<wking@drexel.edu>
Tue, 6 Dec 2011 19:44:29 +0000
(14:44 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Tue, 6 Dec 2011 19:44:29 +0000
(14:44 -0500)
pysawsim/histogram.py
patch
|
blob
|
history
diff --git
a/pysawsim/histogram.py
b/pysawsim/histogram.py
index 7591e56ef56c02dc693ead4a6f441457b96e054d..acd135955e1223df0a0b0f591ceb8849cee54230 100644
(file)
--- a/
pysawsim/histogram.py
+++ b/
pysawsim/histogram.py
@@
-104,7
+104,7
@@
class Histogram (object):
>>> h.counts
[10.0, 40.0, 5.0]
>>> h.bin_edges # doctest: +ELLIPSIS
- [1.5e-10, 2.
000...e-10, 2.500
...e-10, 3e-10]
+ [1.5e-10, 2.
..e-10, 2.5
...e-10, 3e-10]
>>> h.probabilities # doctest: +ELLIPSIS
[0.181..., 0.727..., 0.0909...]
"""