We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52e1870 commit 5802cf7Copy full SHA for 5802cf7
lib/symengine/complex.rb
@@ -1,7 +1,7 @@
1
module SymEngine
2
class Complex
3
def to_c
4
- to_s.tr('I', 'i').tr('*','').tr(' ','').to_c
+ to_s.tr('I', 'i').delete(' *').to_c
5
end
6
7
0 commit comments