Concatenation incorrectly throws error for non-full CodimensionalCollection #1
Labels
No labels
bug
duplicate
enhancement/documentation
enhancement/feature
enhancement/organization
question
rejected
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
UserCurt/collections-toolbox#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Concatenation of two or more CodimensionalCollection instances can incorrectly throw an error when they are not full, meaning some dimensions are linked with variables with both singleton and non-singleton sizes along the corresponding dimension. Concatenating along such a dimension should and correctly does throw an error. But concatenating along other dimensions should not give an error, but the current implementation does.
To reproduce the issue:
As an aside, concatenation along dimension 2 currently correctly throws an error. See issue #2 for a feature request in which it returns a valid CodimensionalCollection.
This may be related to why
C(1)andC(:)for a 2+-dimensional CodimensionalCollectionCthrows an error.