From 070e45aa0191b904edce77bb127664bbf31b677d Mon Sep 17 00:00:00 2001 From: Josh Borrow <joshua.borrow@durham.ac.uk> Date: Wed, 19 Sep 2018 16:25:16 +0100 Subject: [PATCH] Made IC script python3 cross-compatible --- examples/ConstantCosmoVolume/makeIC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ConstantCosmoVolume/makeIC.py b/examples/ConstantCosmoVolume/makeIC.py index 84ba2a55bd..d63cb34299 100644 --- a/examples/ConstantCosmoVolume/makeIC.py +++ b/examples/ConstantCosmoVolume/makeIC.py @@ -65,7 +65,7 @@ glass.close() # Total number of particles numPart = size(pos)/3 if numPart != numPart_1D**3: - print "Non-matching glass file" + print("Non-matching glass file") numPart = numPart_1D**3 # Set box size and interparticle distance -- GitLab