10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 13:53:48 +01:00

Fix bug in convertState

This commit is contained in:
Mickaël Véril 2020-09-22 11:54:12 +02:00
parent e261d38026
commit 94d2b650d4

View File

@ -113,7 +113,7 @@ class dataFileBase(object):
tmplst.append((mul,symm,trsp,tygrp))
lst=[]
for index,item in enumerate(tmplst):
unforminitialstate=(initialState.multiplicity,initialState.symetry)
unforminitialstate=(int(initialState.multiplicity),initialState.symetry)
countlst=[unforminitialstate]+[(it[0],it[1]) for it in tmplst[:index+1]]
countitem=(item[0],item[1])
count=countlst.count(countitem)