3-arg call with explicit rng, element/storage type, and a single TensorSpace throws MethodError: no method matching one(::typeof(domain)) — domain is the TensorKit function, not a space. Reproduced: randn(Random.default_rng(), Float64, ℂ^2). No test covers this arity.
src/tensors/tensor.jl:396. Fix: one(codomain) instead of one(domain).
3-arg call with explicit
rng, element/storage type, and a singleTensorSpacethrowsMethodError: no method matching one(::typeof(domain))—domainis the TensorKit function, not a space. Reproduced:randn(Random.default_rng(), Float64, ℂ^2). No test covers this arity.src/tensors/tensor.jl:396. Fix:one(codomain)instead ofone(domain).