Skip to content

Commit

Permalink
removing an unused lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
whaeck committed Aug 27, 2024
1 parent db002b4 commit 2df64a8
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions python/src/tree/Tape.python.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,6 @@ void wrapTreeTape( python::module& module, python::module& viewmodule ) {
"any_view< tree::Material, bidirectional >" );


// predefined lambda
auto getMaterial = [] ( Tape& self, int mat )
-> std::variant< std::reference_wrapper< Material >, MaterialRange > {

if ( self.numberMAT( mat ) == 1 ) {

return std::ref( self.MAT( mat ).front() );
}
return self.MAT( mat );
};

// create the tree component
python::class_< Tape > tree(

Expand Down

0 comments on commit 2df64a8

Please sign in to comment.