Loading minke/sources.py +5 −2 Original line number Diff line number Diff line Loading @@ -46,10 +46,13 @@ class Waveform(object): try: lal.DestroyREAL8Sequence(self.hp) lal.DestroyREAL8Sequence(self.hx) except: print "Failed to destroy hp and hx" try: lal.DestroyREAL8Sequence(self.hp0) lal.DestroyREAL8Sequence(self.hx0) except: pass print "Failed to destroy hp0 and hx0" def _clear_params(self): self.params = {} Loading Loading
minke/sources.py +5 −2 Original line number Diff line number Diff line Loading @@ -46,10 +46,13 @@ class Waveform(object): try: lal.DestroyREAL8Sequence(self.hp) lal.DestroyREAL8Sequence(self.hx) except: print "Failed to destroy hp and hx" try: lal.DestroyREAL8Sequence(self.hp0) lal.DestroyREAL8Sequence(self.hx0) except: pass print "Failed to destroy hp0 and hx0" def _clear_params(self): self.params = {} Loading