[
https://issues.apache.org/jira/browse/MATH-627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phil Steitz updated MATH-627:
-----------------------------
Affects Version/s: (was: 3.0)
Fix Version/s: 3.1
Optimization can wait until 3.1
> superfluously null check of SparseIterator.next()
> -------------------------------------------------
>
> Key: MATH-627
> URL: https://issues.apache.org/jira/browse/MATH-627
> Project: Commons Math
> Issue Type: Improvement
> Reporter: Arne Plöse
> Priority: Minor
> Fix For: 3.1
>
>
> Looking at the implementation of SparseIterator in
> OpenMapRealVector.OpenMapSparseIterator there is no chance that the entry
> return by next() is ever null - so there is no need to chek this in nearly
> every loop?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira