Fix Python 3 support in statepoint.py

This commit is contained in:
Paul Romano 2015-04-29 08:55:45 +07:00
parent 6e29cf2fbe
commit 3fe577c934

View file

@ -1,5 +1,6 @@
import copy
import struct
import sys
import numpy as np
import scipy.stats
@ -7,6 +8,9 @@ import scipy.stats
import openmc
from openmc.constants import *
if sys.version > '3':
long = int
class SourceSite(object):