﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1700	error with function sum	mohamed	mohamed	"I found a problem using open medelica 1.8.1(last version).


The problem is the use of the modelica function sum().In fact, sum(v) has to return a real type,knowing
that v is a vector of reals.
But,when apealing a function containing the {sum()}  by another model,I have the following error generated:

Message obtained when instantiating the model with OMshell 1.8.1:
""
Error: Type mismatch in assignment in somme := sum(v) of Real := Real[taille]
""


I have to mention that,when using  the same model with the older version 1.7,I didn't find this error.


Attached please find a model that reproduces this error."	defect	closed	high				fixed		mohamed
