Skip to content
This repository was archived by the owner on Jun 14, 2022. It is now read-only.

Make binary parameters flexible#54

Merged
prehner merged 16 commits intomainfrom
make_binary_parameters_flexible
May 30, 2022
Merged

Make binary parameters flexible#54
prehner merged 16 commits intomainfrom
make_binary_parameters_flexible

Conversation

@g-bauer
Copy link
Copy Markdown
Contributor

@g-bauer g-bauer commented May 16, 2022

Currently, our Python impl for parameters is limited to a single f64 as binary interaction parameter. This impl introduces TryFrom<f64> as trait bound in the Parameter trait which allows to keep a simple Python interface where possible (i.e. if the EoS has a single binary parameter) but also allows for more complex binary interaction parameters.

@prehner prehner merged commit b0e3783 into main May 30, 2022
@prehner prehner deleted the make_binary_parameters_flexible branch May 30, 2022 10:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rework impl_parameter macro to work for BinaryRecords that contain more than one value

2 participants