Skip to content

int() added to avoid float errors in matrix construction#1

Open
jmmauricio wants to merge 1 commit intograveslab:masterfrom
jmmauricio:master
Open

int() added to avoid float errors in matrix construction#1
jmmauricio wants to merge 1 commit intograveslab:masterfrom
jmmauricio:master

Conversation

@jmmauricio
Copy link

I'm using python 3 and for some reason I got an error because it is not possible to assign a float to np.zeros() matrix construction. I added int() when calculating number of rows and cols.

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.

1 participant