Skip to content

Commit 74fcdda

Browse files
Merge pull request #6 from alexispaz/fix
Typo on ldx_of_cellndx
2 parents aaffbee + db4d80e commit 74fcdda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HTPolyNet/linkcell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def ldx_of_cellndx(self,C):
131131
:rtype: int
132132
"""
133133
nc=self.ncells
134-
xc=C[0]*nc[1]*nc[2]+C[1]*nc[1]+C[2]
134+
xc=C[0]*nc[1]*nc[2]+C[1]*nc[2]+C[2]
135135
return xc
136136

137137
def cellndx_of_ldx(self,i):

0 commit comments

Comments
 (0)