• Huu Nguyen's avatar
    Fix implicit narrowing error in initializer list · 81b9be16
    Huu Nguyen authored
    The implicit narrowing in the initializer list throws a compiler error for some compilers with C++11 support turned on. The specific error message is: "error: narrowing conversion of 'PyInt_AsLong(((PyObject*)o))' from 'long int' to 'double' inside { }".
    
    Tested on Clang 5.1.0 and Mac OS X 10.9.4.
    81b9be16
Name
Last commit
Last update
..
python2 Loading commit data...
python3 Loading commit data...
src2 Loading commit data...
test Loading commit data...
CMakeLists.txt Loading commit data...
common.cmake Loading commit data...