Commit 26e1970d authored by Daniel Williams's avatar Daniel Williams
Browse files

Corrected mistake in the sources file.

parent 388e28c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -142,7 +142,7 @@ class Waveform(object):
            hp0, hx0 = hp, hx
        
        # Rescale for a given distance
        if distance and if hasattr(self, supernova):
        if distance and hasattr(self, supernova):
            rescale = 1.0 / (self.file_distance / distance)
            hp, hx, hp0, hx0 = hp * rescale, hx * rescale, hp0 * rescale, hx0 * rescale