mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Fix Python 3 support in statepoint.py
This commit is contained in:
parent
6e29cf2fbe
commit
3fe577c934
1 changed files with 4 additions and 0 deletions
|
|
@ -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):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue