fixed nasty bug that prevented proper grid rescaling

This commit is contained in:
Philip Eisenlohr 2013-07-16 21:11:44 +00:00
parent 0e78cabe9d
commit 7d5f1270d5
1 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ for file in files:
# --- write microstructure information ------------------------------------------------------------
formatwidth = int(math.floor(math.log10(microstructure.max())+1))
theTable.data = microstructure.reshape((info['grid'][0],info['grid'][1]*info['grid'][2]),order='F').transpose()
theTable.data = microstructure.reshape((newInfo['grid'][0],newInfo['grid'][1]*newInfo['grid'][2]),order='F').transpose()
theTable.data_writeArray('%%%ii'%(formatwidth))
#--- output finalization --------------------------------------------------------------------------