We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0411194 commit 779a65fCopy full SHA for 779a65f
fidimag/common/cuboid_mesh.py
@@ -26,6 +26,7 @@
26
in the innermost loop, and the z-axis in the outermost loop!
27
28
"""
29
+from __future__ import print_function
30
import os
31
import numpy as np
32
from textwrap import dedent
@@ -278,7 +279,7 @@ def check_size(self, system_memory_fake_for_testing=None):
278
279
280
if 2 * size_coordinates_GiB > mem_GiB:
281
# print because no logging yet
- print "Warning! Size of mesh coordinates i {} GiB.".format(size_coordinates_GiB)
282
- print "You have {} GiB system memory. Possible halt.".format(mem_GiB)
+ print("Warning! Size of mesh coordinates i {} GiB.".format(size_coordinates_GiB))
283
+ print("You have {} GiB system memory. Possible halt.".format(mem_GiB))
284
return 1
285
return 0
0 commit comments