Skip to content
Snippets Groups Projects
Commit b5b85d14 authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed last issue with __repr__ functions

parent cd6298fb
Branches
Tags
No related merge requests found
...@@ -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)
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment