Skip to content

MAHOUT-1638: implement String equivalent of Vec.makeCons()#99

Closed
avati wants to merge 1 commit into
apache:masterfrom
avati:MAHOUT-1638
Closed

MAHOUT-1638: implement String equivalent of Vec.makeCons()#99
avati wants to merge 1 commit into
apache:masterfrom
avati:MAHOUT-1638

Conversation

@avati
Copy link
Copy Markdown
Contributor

@avati avati commented Apr 3, 2015

Necessary for creating an empty Vec to hold String labels in the
future.

Replace calls to Vec.makeCons with H2OHelper.makeEmptyStrVec()
where the created Vec is used to store label strings.

Also, fix an off-by-one bug in MapBlockHelper

Signed-off-by: Anand Avati avati@redhat.com

Necessary for creating an empty Vec to hold String labels in the
future.

Replace calls to Vec.makeCons with H2OHelper.makeEmptyStrVec()
where the created Vec is used to store label strings.

Also, fix an off-by-one bug in MapBlockHelper

Signed-off-by: Anand Avati <avati@redhat.com>
@andrewpalumbo
Copy link
Copy Markdown
Member

@avati thanks alot for the fix. Looks good! I'll push this. along with #72

@asfgit asfgit closed this in 5197ac9 Apr 3, 2015
@dlyubimov
Copy link
Copy Markdown
Contributor

This is superawesome. Thank you @avati !

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.

3 participants