Skip to content

Commit

Permalink
fix for using association without DFT
Browse files Browse the repository at this point in the history
  • Loading branch information
prehner committed Nov 11, 2022
1 parent fa97558 commit e1b7e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/association/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ impl AssociationParameters {
/// Implementation of the SAFT association Helmholtz energy
/// contribution and functional.
#[cfg_attr(feature = "dft", derive(FunctionalContribution))]
#[max_size(20)]
#[cfg_attr(feature = "dft", max_size(20))]
pub struct Association<P: HardSphereProperties> {
parameters: Arc<P>,
association_parameters: AssociationParameters,
Expand Down

0 comments on commit e1b7e55

Please sign in to comment.