Skip to content

Undirected crf graph: Use integer for size#200

Closed
maflcko wants to merge 1 commit into
pystruct:masterfrom
maflcko:patch-1
Closed

Undirected crf graph: Use integer for size#200
maflcko wants to merge 1 commit into
pystruct:masterfrom
maflcko:patch-1

Conversation

@maflcko
Copy link
Copy Markdown

@maflcko maflcko commented Mar 16, 2017

With python3 the binary operator / means floating point division.
This commit switches the operator to //, which means integer
division in python2 as well as python3.

With python3 the binary operator `/` means floating point division.
This commit switches the operator to `//`, which means integer
division in python2 as well as python3.
@ShigekiKarita
Copy link
Copy Markdown

this is also fixed in #196

@maflcko
Copy link
Copy Markdown
Author

maflcko commented Mar 23, 2018

Indeed, thx.

@maflcko maflcko closed this Mar 23, 2018
@maflcko maflcko deleted the patch-1 branch March 23, 2018 21:58
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