[Insight-users] Histogram GetBinMin()/Max() functions...

Luis Ibanez luis.ibanez at kitware.com
Thu, 22 Jan 2004 12:34:01 -0500


Hi Jean-Philippe,

Thanks for pointing this out.

You are right,
these two methods should be "const".
This has been entered as Bug# 533

http://www.itk.org/Bug/bug.php?op=show&bugid=533&pos=0

a fix will be commited pretty soon.


Regards,


    Luis



---------------------------
Jean-Philippe Guyon wrote:

> Hello,
>  
> I am having a compiler error because I call the GetBinMin() and 
> GetBinMax() on a const pointer to an histogram.
> Those functions should probably be defined as const, like all the other 
> Get...() functions within the toolkit ?
> Am I missing something or is it just an unfortunate oversight ?
>  
> Thanks,
> 
> Jean-Philippe
>