Skip to content

Conversation

@SamoylovMD
Copy link
Contributor

No description provided.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not necessary to check value in compressed vector on zero. It is guaranteed that only non-zero values are store. Which means, that we only need to rename each to eachNonZero in CompressedVector class. Please also make sure that MatrixMarketStream uses the proper iteration method. TIP: It should be eachNonZero.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be each.nonZero(procedure).

@vkostyukov
Copy link
Owner

Looks good! Just one thing's left (see my comments below).

@vkostyukov
Copy link
Owner

Nice job Maxim @SamoylovMD!

vkostyukov added a commit that referenced this pull request Aug 3, 2013
Added Vector.eachNonZero method and implementations (issue #57)
@vkostyukov vkostyukov merged commit f2294b5 into vkostyukov:master Aug 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants