From b092572c712b20929644aad27007ff91ea57aaf0 Mon Sep 17 00:00:00 2001 From: Martin Fitzner Date: Tue, 28 May 2024 12:45:36 +0200 Subject: [PATCH 1/2] Update CHANGELOG.md --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e6afe394..928e479b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] +### Fixed +- Non-GP surrogates not working with `deepcopy` and the simulation module due to slotted + base class + ## [0.9.0] - 2024-05-21 ### Added - Class hierarchy for objectives From 8572e85dd79933c52de09808f5d88c73ed284957 Mon Sep 17 00:00:00 2001 From: Martin Fitzner Date: Tue, 28 May 2024 12:56:24 +0200 Subject: [PATCH 2/2] Remove base class slots --- baybe/surrogates/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baybe/surrogates/base.py b/baybe/surrogates/base.py index b7e44107a..da01e487d 100644 --- a/baybe/surrogates/base.py +++ b/baybe/surrogates/base.py @@ -43,7 +43,7 @@ """ -@define +@define(slots=False) class Surrogate(ABC, SerialMixin): """Abstract base class for all surrogate models."""