[python] segmentation fault when converting a one dimensional vector
Conversion of a one dimensional python vector to a C++ vector leads to segmentation fault.
Conversion of a one dimensional python vector to a C++ vector leads to segmentation fault.