Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
zkingston committed Jun 26, 2024
1 parent 56470cf commit 147db6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/impl/vamp/bindings/environment.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ void vamp::binding::init_environment(nanobind::module_ &pymodule)
.def_ro("r", &vc::Sphere<float>::r)
.def_prop_ro(
"position",
[](vc::Sphere<float> &sphere) { return std::array<float, 3>{sphere.x, sphere.y, sphere.z}; })
[](vc::Sphere<float> &sphere) {
return std::array<float, 3>{sphere.x, sphere.y, sphere.z};
})
.def_ro("min_distance", &vc::Sphere<float>::min_distance)
.def_rw("name", &vc::Sphere<float>::name);

Expand Down

0 comments on commit 147db6c

Please sign in to comment.