bug fixes

This commit is contained in:
Martin Diehl 2018-12-09 07:58:42 +01:00
parent d145b257aa
commit 83a3628765
1 changed files with 3 additions and 3 deletions

View File

@ -92,10 +92,10 @@ for name in filenames:
column = table.label_index(v)
table.data[column:column+3] = q * np.array(list(map(float,table.data[column:column+3])))
for t in active['tensor']:
column = table.label_index(v)
column = table.label_index(t)
table.data[column:column+9] = \
np.dot(R,np.dot(np.array(list(map(float,table.data[column:column+9]]))).\
reshape((3,3)),R.transpose())).reshape((9))
np.dot(R,np.dot(np.array(list(map(float,table.data[column:column+9]))).reshape((3,3)),
R.transpose())).reshape((9))
outputAlive = table.data_write() # output processed line
# ------------------------------------------ output finalization -----------------------------------