fixed bug where initial microstructure array was allocated (factor 2) too large in anticipation of later 2D tiling.
This commit is contained in:
parent
c6eab9dab7
commit
b573d06c3f
|
@ -124,7 +124,7 @@ for file in files:
|
|||
continue
|
||||
|
||||
#--- read data ------------------------------------------------------------------------------------
|
||||
microstructure = np.zeros(np.prod([2 if i == 1 else i for i in info['grid']]),'i') # 2D structures do not work
|
||||
microstructure = np.zeros(np.prod(info['grid']),'i') # 2D structures do not work
|
||||
i = 0
|
||||
|
||||
while theTable.data_read(): # read next data line of ASCII table
|
||||
|
|
Loading…
Reference in New Issue