From 0f78c7c2db742d59f2a5ee9da767f35aafa49b78 Mon Sep 17 00:00:00 2001 From: Deepak Mallubhotla Date: Sat, 30 Apr 2022 11:45:24 -0500 Subject: [PATCH] fix: makes repr return actual name --- pdme/model/fixed_magnitude_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdme/model/fixed_magnitude_model.py b/pdme/model/fixed_magnitude_model.py index 49a8d39..288f815 100644 --- a/pdme/model/fixed_magnitude_model.py +++ b/pdme/model/fixed_magnitude_model.py @@ -37,7 +37,7 @@ class SingleDipoleFixedMagnitudeModel(DipoleModel): self.rng = numpy.random.default_rng() def __repr__(self) -> str: - return f"FixedMagnitudeModel({self.xmin}, {self.xmax}, {self.ymin}, {self.ymax}, {self.zmin}, {self.zmax}, {self.pfixed})" + return f"SingleDipoleFixedMagnitudeModel({self.xmin}, {self.xmax}, {self.ymin}, {self.ymax}, {self.zmin}, {self.zmax}, {self.pfixed})" def get_dipoles( self, max_frequency: float, rng_to_use: numpy.random.Generator = None