Skip to content

Commit

Permalink
Update FaustBoxAPI.h
Browse files Browse the repository at this point in the history
  • Loading branch information
DBraun committed Jun 19, 2023
1 parent faf9356 commit 1e15527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/FaustBoxAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,15 +192,15 @@ inline void create_bindings_for_faust_box(py::module &faust_module) {
"__floordiv__",
[](const BoxWrapper &box1, int other) {
return BoxWrapper(
boxFloor(boxDiv((BoxWrapper &)box1, sigInt(other))));
boxFloor(boxDiv((BoxWrapper &)box1, boxInt(other))));
},
returnPolicy)

.def(
"__floordiv__",
[](const BoxWrapper &box1, float other) {
return BoxWrapper(
boxFloor(boxDiv((BoxWrapper &)box1, sigReal(other))));
boxFloor(boxDiv((BoxWrapper &)box1, boxReal(other))));
},
returnPolicy)

Expand Down

0 comments on commit 1e15527

Please sign in to comment.