Commit 76c6432a authored by Jörg Behrmann's avatar Jörg Behrmann

Add missing space that C++11 needs for macro expansion.

This silences the warning about "invalid suffix on literal".
parent 54c54141
Pipeline #2710 passed with stage
in 21 seconds
......@@ -127,7 +127,7 @@ PyObject *zeros(PyObject *, PyObject *args)
}
PyDoc_STRVAR(zeros_doc,
"zeros(shape, dtype="DEFAULT_DTYPE")\n\n\
"zeros(shape, dtype=" DEFAULT_DTYPE ")\n\n\
Return an array of given shape and type, filled with zeros.");
PyObject *ones(PyObject *, PyObject *args)
......@@ -136,7 +136,7 @@ PyObject *ones(PyObject *, PyObject *args)
}
PyDoc_STRVAR(ones_doc,
"ones(shape, dtype="DEFAULT_DTYPE")\n\n\
"ones(shape, dtype=" DEFAULT_DTYPE ")\n\n\
Return an array of given shape and type, filled with ones.");
template <typename T>
......@@ -175,7 +175,7 @@ PyObject *identity(PyObject *, PyObject *args)
}
PyDoc_STRVAR(identity_doc,
"identity(n, dtype="DEFAULT_DTYPE")\n\n\
"identity(n, dtype=" DEFAULT_DTYPE ")\n\n\
Return an identity matrix of given size and dtype.");
PyObject *array(PyObject *, PyObject *args)
......
Markdown is supported
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