Skip to content

Commit 4ddd3d1

Browse files
committed
[NF] Improve deduction of unknown dimensions.
1 parent a871306 commit 4ddd3d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OMCompiler/Compiler/NFFrontEnd/NFTyping.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ algorithm
698698
// A typed binding, get the dimension from the binding's type.
699699
case Binding.TYPED_BINDING()
700700
algorithm
701-
dim_index := index + Binding.propagatedDimCount(b) + parent_dims;
701+
dim_index := index + parent_dims;
702702
(dim, ty_err) := nthDimensionBoundsChecked(b.bindingType, dim_index);
703703

704704
// If the deduced dimension is unknown, evaluate the binding and try again.

0 commit comments

Comments
 (0)