>>> a = Axis('a=a0,a1')
>>> class CS(CheckedSession):
... v: CheckedArray(a)
>>> arr = ndtest(a)
>>> arr.dtype
dtype('int64')
>>> cs = CS(v=arr)
>>> cs.v.dtype
dtype('float64')
>>> cs.v = arr
>>> cs.v.dtype
dtype('float64')
When the dtype is not specified, instead of (silently) coercing to float, it should accept any dtype. We asked to check for the axes, not the dtype.
When the dtype is not specified, instead of (silently) coercing to float, it should accept any dtype. We asked to check for the axes, not the dtype.