[Dspatial-develop] access violation - again ???
Status: Alpha
Brought to you by:
pvanlaake
|
From: Arioch /BDV/ <the...@nm...> - 2004-07-22 20:18:07
|
Hello, All!
=========Beginning of the citation==============
function TDSpHistoFloat32.AddData(const data: pointer; num: integer):
cardinal;
var i: integer;
sp: PDSpFloat32;
scale: TDSpFloat64;
begin
sp := data;
scale := FBins / (FMax - FMin);
=========The end of the citation================
For all integer-flavored Histo's thelast line looks like
scale := FBins / (Max - Min + 1);
But for float - there is no that '+1' - what to do ?
--
WinAMP://none: WinAMP is suffocated
http://Arioch.nm.ru/FL/Fidolook_SL.png Mail: the_Arioch<at>nm<dot>ru
|