[vtkusers] Minor Bug in vtkXYPlotActor.cxx

David Doria daviddoria+vtk at gmail.com
Thu Mar 25 13:09:16 EDT 2010


On Mon, Mar 15, 2010 at 5:21 AM, <ebeaudoi at ucalgary.ca> wrote:

> Hi,
>
> At line 969 of vtkXYPlotActor.cxx (Revision 1.70) (also in release 5.4.2)
> there is a bug. The line is
> if ( this->XRange[0] >= this->YRange[1] )
> but it should be
> if ( this->YRange[0] >= this->YRange[1] )
>
> The error is that XRange[0] should be YRange[0] because in this context it
> makes no sense to compare X with Y.
>
> Eric Beaudoin
>
>
Can someone veryify+fix this?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100325/253ab783/attachment.htm>


More information about the vtkusers mailing list