From 034a9bcc8ee4b403d89d5db07083ee2053c8a3f4 Mon Sep 17 00:00:00 2001 From: Christian Zimmermann Date: Fri, 9 Feb 2024 13:45:21 +0100 Subject: [PATCH] create empty array --- cnorxz/core/lib/array_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cnorxz/core/lib/array_wrapper.cpp b/cnorxz/core/lib/array_wrapper.cpp index 81b71a9..90c0868 100644 --- a/cnorxz/core/lib/array_wrapper.cpp +++ b/cnorxz/core/lib/array_wrapper.cpp @@ -12,7 +12,7 @@ int PyCxArrayB_init(PyCxArrayB* self, PyObject* args, PyObject* kwds) SizeT ext = 0; char* type = NULL; - if(not PyArg_ParseTupleAndKeywords(args, kwds, "s|k", kwlist, &type, &ext)){ + if(not PyArg_ParseTupleAndKeywords(args, kwds, "|sk", kwlist, &type, &ext)){ return -1; }