diff --git a/skcosmo/preprocessing/_data.py b/skcosmo/preprocessing/_data.py index 9ca86b86b..9be69508d 100644 --- a/skcosmo/preprocessing/_data.py +++ b/skcosmo/preprocessing/_data.py @@ -121,7 +121,7 @@ def __init__( self.rtol = rtol self.atol = atol self.n_samples_seen_ = 0 - self.copy = False + self.copy = copy def fit(self, X, y=None, sample_weight=None): """Compute mean and scaling to be applied for subsequent normalization.