don't implicitly convert doubles to ints
diff --git a/example/issues.cpp b/example/issues.cpp
index a462214..d1a1941 100644
--- a/example/issues.cpp
+++ b/example/issues.cpp
@@ -104,4 +104,8 @@
 
     // (no id): should not be able to pass 'None' to a reference argument
     m2.def("print_element", [](ElementA &el) { std::cout << el.value() << std::endl; });
+
+    // (no id): don't cast doubles to ints
+    m2.def("expect_float", [](float f) { return f; });
+    m2.def("expect_int", [](int i) { return i; });
 }