add an implicit conversion to libpython

metadata
Wenzel Jakob 2014-01-11 17:44:36 +01:00
parent a59c99a996
commit 8bbb097936
1 changed files with 2 additions and 0 deletions

View File

@ -992,6 +992,8 @@ void export_core() {
bp::to_python_converter<fs::path, path_to_python_str>();
bp::to_python_converter<TSpectrum<Float, SPECTRUM_SAMPLES>, TSpectrum_to_Spectrum>();
bp::implicitly_convertible<std::string, fs::path>();
bp::implicitly_convertible<Normal, Vector>();
PythonIntegrandFromPythonCallable();
bp::object coreModule(