fixed bug where initial microstructure array was allocated (factor 2) too large in anticipation of later 2D tiling.

This commit is contained in:
Tias Maiti 2014-08-18 21:32:53 +00:00
parent c6eab9dab7
commit b573d06c3f
1 changed files with 1 additions and 1 deletions

View File

@ -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