Skip to content

Commit

Permalink
fix init
Browse files Browse the repository at this point in the history
  • Loading branch information
linznedd committed Oct 6, 2023
1 parent 081ab8f commit a0551b7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions bofire/data_models/surrogates/polynomial.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from pydantic import Field

from bofire.data_models.domain.api import Inputs, Outputs
from bofire.data_models.features.api import TInputTransformSpecs
from bofire.data_models.kernels.api import (
PolynomialKernel,
)
Expand All @@ -26,15 +25,11 @@ def __init__(
inputs: Inputs,
outputs: Outputs,
power: int,
input_preprocessing_specs: TInputTransformSpecs = dict,
dump: str | None = None,
):
super().__init__(
type=type,
inputs=inputs,
outputs=outputs,
input_preprocessing_specs=input_preprocessing_specs,
dump=dump,
)
self.kernel: PolynomialKernel = Field(
default_factory=lambda: PolynomialKernel(power=power)
Expand Down

0 comments on commit a0551b7

Please sign in to comment.