aboutsummaryrefslogtreecommitdiffstats
path: root/mc_x.py
diff options
context:
space:
mode:
authorshivesh <s.p.mandalia@qmul.ac.uk>2019-04-30 16:05:43 -0500
committershivesh <s.p.mandalia@qmul.ac.uk>2019-04-30 16:05:43 -0500
commit0b424a0ea53502a416a9c5983abeb845e7ef4c57 (patch)
tree244fc1955647800ecd5b2cc7b2e0773c0dff2400 /mc_x.py
parent778fa78131b6366966756c2b60cf4f9f0593d41d (diff)
downloadGolemFlavor-0b424a0ea53502a416a9c5983abeb845e7ef4c57.tar.gz
GolemFlavor-0b424a0ea53502a416a9c5983abeb845e7ef4c57.zip
misc
Diffstat (limited to 'mc_x.py')
-rwxr-xr-xmc_x.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mc_x.py b/mc_x.py
index 8722e76..ae5b6ab 100755
--- a/mc_x.py
+++ b/mc_x.py
@@ -188,7 +188,8 @@ def main():
srcs = [fr_utils.normalise_fr((x, 1-x, 0)) for x in samples.T[-1]]
mmxs = map(fr_utils.angles_to_u, samples.T[:-1].T)
frs = np.array(
- [fr_utils.u_to_fr(srcs[i], mmxs[i]) for i in xrange(nsamples)]
+ [fr_utils.u_to_fr(srcs[i], mmxs[i]) for i in xrange(nsamples)],
+ dtype=np.float64
)
mcmc_utils.save_chains(frs, outfile)