@@ -54,22 +54,23 @@ pub enum ResidualModel {
5454 UVTheory ( crate :: uvtheory:: UVTheory ) ,
5555
5656 // Helmholtz energy functionals
57- #[ cfg( feature = "dft" ) ]
57+ #[ cfg( all ( feature = "dft" , feature = "pcsaft" ) ) ]
5858 #[ implement( molar_weight, functional, fluid_parameters, pair_potential) ]
5959 PcSaftFunctional ( crate :: pcsaft:: PcSaftFunctional ) ,
6060
61- #[ cfg( feature = "gc_pcsaft" ) ]
61+ #[ cfg( all ( feature = "dft" , feature = " gc_pcsaft") ) ]
6262 #[ implement( molar_weight, functional, fluid_parameters, bond_lengths) ]
6363 GcPcSaftFunctional ( crate :: gc_pcsaft:: GcPcSaftFunctional ) ,
6464
65- #[ cfg( feature = "pets" ) ]
65+ #[ cfg( all ( feature = "dft" , feature = " pets") ) ]
6666 #[ implement( molar_weight, functional, fluid_parameters, pair_potential) ]
6767 PetsFunctional ( crate :: pets:: PetsFunctional ) ,
6868
69+ #[ cfg( feature = "dft" ) ]
6970 #[ implement( functional, fluid_parameters, pair_potential) ]
7071 FmtFunctional ( crate :: hard_sphere:: FMTFunctional ) ,
7172
72- #[ cfg( feature = "saftvrqmie" ) ]
73+ #[ cfg( all ( feature = "dft" , feature = " saftvrqmie") ) ]
7374 #[ implement( molar_weight, functional, fluid_parameters, pair_potential) ]
7475 SaftVRQMieFunctional ( crate :: saftvrqmie:: SaftVRQMieFunctional ) ,
7576}
0 commit comments