diff --git a/quasardb/numpy/__init__.py b/quasardb/numpy/__init__.py index d3c390de..bbecdfab 100644 --- a/quasardb/numpy/__init__.py +++ b/quasardb/numpy/__init__.py @@ -459,6 +459,10 @@ def _ensure_list(xs, cinfos): # of the array. n = _probe_length(xs) + if n is None: + logger.error("Unable to probe length: provided arrays: %s", xs) + raise ValueError("Unable to probe array length: all provided arrays None?") + ret = list() for i in range(len(cinfos)):