Skip to content

Commit 6ac691b

Browse files
committed
fix python 2.7 print issue
1 parent 822ae79 commit 6ac691b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

pyemcee/pyemcee.py

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
import scipy.stats as stats
1717
import matplotlib.pyplot as plt
1818

19+
#for use in Python 2.7 and later
20+
from __future__ import print_function
21+
1922
__all__ = ["hammer","find_errors"]
2023

2124
def initialize(fcn, param, param_err_m, param_err_p, walk_num, output_num, use_gaussian, functargs=None):

pyemcee/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.2.4'
1+
__version__ = '0.2.5'

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
with codecs.open('README.rst', 'r', 'utf-8') as fd:
1717
setup(name='pyemcee',
18-
version="0.2.4",
18+
version="0.2.5",
1919
description = 'pyemcee: Python implementation of the affine-invariant MCMC Hammer',
2020
long_description=fd.read(),
2121
author='Ashkbiz Danehkar',

0 commit comments

Comments
 (0)