Skip to content

Commit 30d2b3c

Browse files
committed
Resize array bug fix
1 parent 01dd117 commit 30d2b3c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/simulation/dynamics/RadiationPressure/parseSRPLookup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ def parseAndLoadXML(self, filePath):
3535
forceBTree = document.find('forceBValues')
3636
torqueBTree = document.find('torqueBValues')
3737

38-
self.sHatBLookup.resize([len(list(sHatBTree)), 3])
39-
self.forceBLookup.resize([len(list(forceBTree)), 3])
40-
self.torqueBLookup.resize([len(list(torqueBTree)), 3])
38+
self.sHatBLookup.resize([len(list(sHatBTree)), 3], refcheck=False)
39+
self.forceBLookup.resize([len(list(forceBTree)), 3], refcheck=False)
40+
self.torqueBLookup.resize([len(list(torqueBTree)), 3], refcheck=False)
4141

4242
for node in list(sHatBTree):
4343
idx = int(node.attrib['index'])

0 commit comments

Comments
 (0)