[vtk-developers] compiler warnings, float vs double

Sean McBride sean at rogue-research.com
Mon Aug 6 12:53:25 EDT 2007


On 8/6/07 11:02 AM, Mathieu Malaterre said:

>  VTK was changed from a float API to a double API during the VTK 4.2
>to VTK 4.4 transition. I would say that this is simply an oversight
>during the transition (Ken any comment?).
>
>  So I'd rather say switch definitely to double if you can spot those
>type of typos.

I fixed the warnings last week by changing the constants to end in 'f'. 
I also thought they maybe should have been 'double' (hence this
thread).  I'll leave that change to someone at kitware... 

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtk-developers mailing list