﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4606	Wrong equation count with complex numbers	massimo ceraolo	Per Östlund	"After a check it seems to me that this is not a duplicate, but I'm not totally sure.
Consider the following code:

{{{
model NumOfEq
  function F
    input Complex Z1, Z2;
    output Complex Z3;
  algorithm
    Z3 := Z1 + Z2;
  end F;
  model M4x2
    parameter Complex Z1 = Complex(1, 1);
    parameter Complex Z2 = Z1;
    Complex Z3 = F(Z1, Z2);
  end M4x2;
  model M4x4
    parameter Complex Z1 = Complex(1, 1);
    Complex Z2 = Z1;
    Complex Z3 = F(Z1, Z2);
  end M4x4;
end NumOfEq;

}}}
I expect to have 4 equations and variables in model M4x4 and 2 equations and variables in model M2x2.
However OM reports in the second case 4 equations and 2 variables.

"	defect	closed	high	1.13.0	Frontend		fixed		
