Skip to content

Commit

Permalink
python cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
prehner committed Apr 22, 2024
1 parent bbb735d commit d1e4ba9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/pcsaft/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,15 @@ impl PyPcSaftRecord {
self.0.q
}

// #[getter]
// fn get_association_records(&self) -> Vec<PyAssociationRecord> {
// self.0
// .association_records
// .iter()
// .copied()
// .map(PyAssociationRecord)
// .collect()
// }
#[getter]
fn get_association_records(&self) -> Vec<PyAssociationRecord> {
self.0
.association_records
.iter()
.copied()
.map(PyAssociationRecord)
.collect()
}

#[getter]
fn get_viscosity(&self) -> Option<[f64; 4]> {
Expand Down

0 comments on commit d1e4ba9

Please sign in to comment.