Ticket #1969: MultiFunctionReturnValueUseOnlyFirst.mo

File MultiFunctionReturnValueUseOnlyFirst.mo, 219 bytes (added by Jens Frenkel, 12 years ago)
Line 
1model MultiFunctionReturnValueUseOnlyFirst
2equation
3 assert(abs(Modelica.Math.Vectors.interpolate({ 0, 2, 4, 6, 8, 10},{10, 20, 30, 40, 50, 60},5)) < 0.1,"Only a Test");
4end MultiFunctionReturnValueUseOnlyFirst;