File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,12 @@ This function determines the type of newly allocated `TensorMap`s throughout Ten
6363It does so by leveraging type inference and calls to `Base.similar` for automatically determining
6464appropriate storage types. Additionally this registers the default storage type when only a type
6565`T <: Number` is provided, which is `Vector{T}`.
66+
67+ !!! note
68+ There is a slight semantic difference in the single and two-argument version. The former is
69+ used in constructor-like calls, and therefore will return the exact same type for a `DenseVector`
70+ input. The latter is used in `similar`-like calls, and therefore will return the type of calling
71+ `similar` on the given `DenseVector`, which need not coincide with the original type.
6672""" similarstoragetype
6773
6874# implement in type domain
You can’t perform that action at this time.
0 commit comments