Commit b5b85d14 authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed last issue with __repr__ functions

parent cd6298fb
...@@ -354,10 +354,10 @@ static PyObject* PyBoostDiscrete_Repr(PyBoostDiscreteObject* self) { ...@@ -354,10 +354,10 @@ static PyObject* PyBoostDiscrete_Repr(PyBoostDiscreteObject* self) {
auto prob_str_ = make_safe(prob_str); auto prob_str_ = make_safe(prob_str);
return PyString_FromFormat( return PyString_FromFormat(
"%s(dtype='%s' , probabilities=%U)", "%s(dtype='%s' , probabilities=%s)",
Py_TYPE(self)->tp_name, Py_TYPE(self)->tp_name,
PyBlitzArray_TypenumAsString(self->type_num), PyBlitzArray_TypenumAsString(self->type_num),
prob_str PyString_AS_STRING(prob_str)
); );
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment