Opened 7 years ago
Closed 7 years ago
#4932 closed defect (fixed)
Issue with NFCall.Call.vectorizeCall
Reported by: | Francesco Casella | Owned by: | Per Östlund |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: |
Description
Please check Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics. The following error is reported:
[Modelica 3.2.2/Electrical/QuasiStationary/MultiPhase.mo:2439:7-2440:33:writable] Error: Internal error NFCall.Call.vectorizeCall got unknown dimension for vectorized call
Change History (5)
comment:1 by , 7 years ago
follow-up: 3 comment:2 by , 7 years ago
This is why the old frontend vectorizes by using array reductions. Then the actual sizes don't really matter.
comment:3 by , 7 years ago
Replying to sjoelund.se:
This is why the old frontend vectorizes by using array reductions. Then the actual sizes don't really matter.
The new one also uses reductions, just incorrectly.
comment:4 by , 7 years ago
Improved in 6fcf40a, the function vectorization now handles sizes defined by expression too (like size(x, 1)
). It still can't handle unknown dimensions though.
comment:5 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
It also shows up with Modelica.Math.FastFourierTransform.Examples.RealFFT1, which I guess is simpler to analyze.