﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4664	max() does not return the correct type in NF	Francesco Casella	Mahder Alemseged Gebremedhin	"Please check
https://libraries.openmodelica.org/branches/newInst/Modelica_3.2.2/files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.err

The following error is reported:
{{{
[/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS
 /OpenModelica/OMCompiler/build/lib/omlibrary
 /Modelica 3.2.2/Blocks/Continuous.mo:1183:5-1183:61:writable]
 Error: Type mismatch for positional argument 1 in 
 zeros(=max(0, (Hw.na - Hw.nb))). The argument has type:
 <ScalarBasicType> expected type: Integer
}}}

Why is max(Integer, Integer) returning <ScalarBasicType> and not <Integer>?"	defect	closed	high	2.0.0	New Instantiation		fixed		
