Re: [math] remove null check when using entry iterator in [Array]RealVector

2012-05-03 Thread Sébastien Brisard
Hi Thomas, > Hi, > > I have investigated MATH-627, and I think we can remove the additional null > checks (tested locally): > >  * the iterators in RealVector and ArrayRealVector never return null as a > result from next() >  * next() is only called when hasNext() returns true > > The thing I want

Re: [math] remove null check when using entry iterator in [Array]RealVector

2012-05-03 Thread Luc Maisonobe
Le 03/05/2012 16:07, Thomas Neidhart a écrit : > Hi, Hi Thomas, > > I have investigated MATH-627, and I think we can remove the additional null > checks (tested locally): > > * the iterators in RealVector and ArrayRealVector never return null as a > result from next() > * next() is only calle

[math] remove null check when using entry iterator in [Array]RealVector

2012-05-03 Thread Thomas Neidhart
Hi, I have investigated MATH-627, and I think we can remove the additional null checks (tested locally): * the iterators in RealVector and ArrayRealVector never return null as a result from next() * next() is only called when hasNext() returns true The thing I want to discuss is that RealVecto