tachart, fix compiler confusion on what version of overloaded function to call

git-svn-id: trunk@32208 -
This commit is contained in:
jesus 2011-09-07 18:43:26 +00:00
parent ce19a79765
commit 78d95df812

View File

@ -893,7 +893,7 @@ begin
FItem.ClearY;
if dx = 0 then exit;
ar := IfThen(AccumulationRange = 0, MaxInt, AccumulationRange);
ar := MinValue([ar, AIndex + 1, High(COEFFS)]);
ar := math.MinValue([ar, Integer(AIndex + 1), High(COEFFS)]);
for j := 0 to ar - 1 do begin
prevItem := FHistory.GetPLast(j);
FItem.Y += prevItem^.Y * COEFFS[ar, j];