Fix flake8 warning
@@ -1560,7 +1560,6 @@ class NaimaModel(SpectralModel):
super().__init__(parameters)
-
def evaluate(self, energy, **kwargs):
"""Evaluate the model"""
for name, value in kwargs.items():
@@ -1570,7 +1569,7 @@ class NaimaModel(SpectralModel):
# Flattening the input energy list and later reshaping the flux list
# prevents some radiative models from displaying broadcasting problems.
- if self.seed == None:
+ if self.seed is None:
dnde = self.radiative_model.flux(energy.flatten(), distance=distance)
else:
dnde = self.radiative_model.flux(
