Commit 30f6f88a authored by Daniel Williams's avatar Daniel Williams
Browse files

Added destructors for the swig objects.

parent b6f6b076
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -347,6 +347,10 @@ class MDCSet():
        # |H+Hx|
        hphx = (lalsimulation.MeasureHrss(hp, hx0)**2 - hrss**2)/2
        self.strains.append([hrss, hphp, hxhx, hphx])
        lal.DestroyREAL8Sequence(hp)
        lal.DestroyREAL8Sequence(hx)
        lal.DestroyREAL8Sequence(hp0)
        lal.DestroyREAL8Sequence(hx0)
    
    def _measure_egw_rsq(self, rate=16384.0):
        """
+0 −1
Original line number Diff line number Diff line
@@ -149,7 +149,6 @@ class Waveform(object):
            hp0, hx0 = hp, hx
        self.hp, self.hx, self.hp0, self.hx0 = hp, hx, hp0, hx0
        lalburst.DestroySimBurst(self.swig_row)
        #return hp, hx, hp0, hx0

    def _row(self, sim=None, slide_id=1):
        """