Skip to content

Change dimension check #1

Merged
shapovalov merged 2 commits intoshapovalov:masterfrom
fgregg:master
May 22, 2013
Merged

Change dimension check #1
shapovalov merged 2 commits intoshapovalov:masterfrom
fgregg:master

Conversation

@fgregg
Copy link

@fgregg fgregg commented May 15, 2013

Hi,

If edges is a NxM array then

edges[i].shape == (M,) 

not

edges[i].shape == (1,M) 

So the dimension check on line 296 of gco_python.pyx doesn't work. This pull request fixes it.

shapovalov added a commit that referenced this pull request May 22, 2013
Change dimension check
@shapovalov shapovalov merged commit a7a2bed into shapovalov:master May 22, 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