Created
May 18, 2016 15:58
-
-
Save rajithv/f781b8d1b9ff03f570b6dda4e84d29b5 to your computer and use it in GitHub Desktop.
SymEngine::Integer implicit conversion to int
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module SymEngine | |
class Integer | |
def to_int | |
self.to_s.to_i | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment