Skip to content

fix integer division for python3#4

Open
gaieepo wants to merge 1 commit into
laiguokun:masterfrom
gaieepo:master
Open

fix integer division for python3#4
gaieepo wants to merge 1 commit into
laiguokun:masterfrom
gaieepo:master

Conversation

@gaieepo

@gaieepo gaieepo commented Aug 13, 2018

Copy link
Copy Markdown

As self.pt appears in tensor dimension, it needs to be fixed as an integer. However, for py2 the integer division returns a float. Double slash will solve this problem.

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