access violation - again ???
"Arioch /BDV/" <[email protected]> Fri, 23 Jul 2004 00:16:22 +0400
| Newsgroups | gmane.comp.gis.dspatial.devel |
|---|---|
| Message-ID | <[email protected]> |
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
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click