You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, our class_list.cpp.py seems to be very sensitive to spaces and new line chars, this causes potential mess-ups when class names tend to get bigger. An immediate example would be class RandomFourierGaussPreproc: public RandomMixin<DensePreprocessor<float64_t>> , doing a clang-format does
classRandomFourierGaussPreproc
: public RandomMixin<DensePreprocessor<float64_t>>
{
our python code fails to register this class on class_list.cpp.
The text was updated successfully, but these errors were encountered:
Context: class_list.py parses the C++ code to extract all class names used in the shogun codebase. We use this in factories to allow creating instances by name.
Currently, our class_list.cpp.py seems to be very sensitive to spaces and new line chars, this causes potential mess-ups when class names tend to get bigger. An immediate example would be
class RandomFourierGaussPreproc: public RandomMixin<DensePreprocessor<float64_t>>
, doing a clang-format doesour python code fails to register this class on
class_list.cpp
.The text was updated successfully, but these errors were encountered: