Skip to content

Commit e5fcec0

Browse files
committed
Remove stray __call__ implementation; this is no longer needed here
1 parent 0b1f642 commit e5fcec0

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

‎astropy/modeling/polynomial.py‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -399,20 +399,6 @@ def prepare_inputs(self, x, **kwargs):
399399
def evaluate(x, *coeffs):
400400
return cls.clenshaw(x, coeffs)
401401

402-
def __call__(self, x, model_set_axis=None):
403-
"""
404-
Transforms data using this model.
405-
406-
Parameters
407-
--------------
408-
x : scalar, list or array
409-
input
410-
"""
411-
412-
if self.domain is not None:
413-
x = poly_map_domain(x, self.domain, self.window)
414-
return self.clenshaw(x, self.param_sets)
415-
416402
@staticmethod
417403
def clenshaw(x, coeffs):
418404
"""Evaluates the polynomial using Clenshaw's algorithm."""

0 commit comments

Comments
 (0)