You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Trevor Grant (JIRA)" <ji...@apache.org> on 2017/06/23 04:07:00 UTC
[jira] [Updated] (MAHOUT-1882) SequentialAccessSparseVector
inerateNonZeros is incorrect.
[ https://issues.apache.org/jira/browse/MAHOUT-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trevor Grant updated MAHOUT-1882:
---------------------------------
Fix Version/s: (was: 0.13.1)
0.13.2
> SequentialAccessSparseVector inerateNonZeros is incorrect.
> ----------------------------------------------------------
>
> Key: MAHOUT-1882
> URL: https://issues.apache.org/jira/browse/MAHOUT-1882
> Project: Mahout
> Issue Type: Bug
> Components: Math
> Affects Versions: 0.12.2
> Reporter: Andrew Palumbo
> Priority: Critical
> Fix For: 0.13.2
>
>
> In {{SequentialAccessSparseVector}} a bug is noted. When Cuonting Non-Zero elements {{NonDefaultIterator}} can, under certain circumstances give an incorrect iterator of size different from the actual non-zeroCounts.
> {code}
> @Override
> public Iterator<Element> iterateNonZero() {
> // TODO: this is a bug, since nonDefaultIterator doesn't hold to non-zero contract.
> return new NonDefaultIterator();
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)