Skip to content

Commit 628e21f

Browse files
committed
SYSML21-362 Added "nonunique" to vector and tensor '['::elements decls.
1 parent 8420fe7 commit 628e21f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

sysml.library/Domain Libraries/Quantities and Units/TensorCalculations.sysml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ standard library package TensorCalculations {
1313
private import MeasurementReferences::CoordinateTransformation;
1414

1515
calc def '[' specializes BaseFunctions::'[' {
16-
in elements: Number[1..n] ordered;
16+
in elements: Number[1..n] ordered nonunique;
1717
in mRef: TensorMeasurementReference[1];
1818
return quantity: TensorQuantityValue[1];
1919
private attribute n = mRef.flattenedSize;

sysml.library/Domain Libraries/Quantities and Units/VectorCalculations.sysml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ standard library package VectorCalculations {
1212
private import MeasurementReferences::CoordinateTransformation;
1313

1414
calc def '[' :> BaseFunctions::'[' {
15-
in elements: Number[1..n] ordered;
15+
in elements: Number[1..n] ordered nonunique;
1616
in mRef: VectorMeasurementReference[1];
1717
return quantity : VectorQuantityValue[1];
1818
private attribute n = mRef.flattenedSize;

0 commit comments

Comments
 (0)