Skip to content

Commit

Permalink
style: CI format update
Browse files Browse the repository at this point in the history
  • Loading branch information
BotellaA committed Apr 17, 2020
1 parent 938bc32 commit bf9e892
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion bindings/python/src/model/mixin/core/blocks.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
.def( "nb_blocks", &Blocks##dimension##D::nb_blocks ) \
.def( "block", &Blocks##dimension##D::block, \
pybind11::return_value_policy::reference ) \
.def( "blocks", \
.def( \
"blocks", \
[]( const Blocks##dimension##D& self ) { \
std::vector< const Block##dimension##D* > components; \
for( const auto& component : self.blocks() ) \
Expand Down
3 changes: 2 additions & 1 deletion bindings/python/src/model/mixin/core/corners.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
.def( "nb_corners", &Corners##dimension##D::nb_corners ) \
.def( "corner", &Corners##dimension##D::corner, \
pybind11::return_value_policy::reference ) \
.def( "corners", \
.def( \
"corners", \
[]( const Corners##dimension##D& self ) { \
std::vector< const Corner##dimension##D* > components; \
for( const auto& component : self.corners() ) \
Expand Down
3 changes: 2 additions & 1 deletion bindings/python/src/model/mixin/core/lines.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
.def( "nb_lines", &Lines##dimension##D::nb_lines ) \
.def( "line", &Lines##dimension##D::line, \
pybind11::return_value_policy::reference ) \
.def( "lines", \
.def( \
"lines", \
[]( const Lines##dimension##D& self ) { \
std::vector< const Line##dimension##D* > components; \
for( const auto& component : self.lines() ) \
Expand Down
3 changes: 2 additions & 1 deletion bindings/python/src/model/mixin/core/model_boundaries.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
.def( "model_boundary", \
&ModelBoundaries##dimension##D::model_boundary, \
pybind11::return_value_policy::reference ) \
.def( "model_boundaries", \
.def( \
"model_boundaries", \
[]( const ModelBoundaries##dimension##D& self ) { \
std::vector< const ModelBoundary##dimension##D* > components; \
for( const auto& component : self.model_boundaries() ) \
Expand Down
3 changes: 2 additions & 1 deletion bindings/python/src/model/mixin/core/surfaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
.def( "nb_surfaces", &Surfaces##dimension##D::nb_surfaces ) \
.def( "surface", &Surfaces##dimension##D::surface, \
pybind11::return_value_policy::reference ) \
.def( "surfaces", \
.def( \
"surfaces", \
[]( const Surfaces##dimension##D& self ) { \
std::vector< const Surface##dimension##D* > components; \
for( const auto& component : self.surfaces() ) \
Expand Down

0 comments on commit bf9e892

Please sign in to comment.