Skip to content

Commit 5802cf7

Browse files
committed
minor change
1 parent 52e1870 commit 5802cf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/symengine/complex.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module SymEngine
22
class Complex
33
def to_c
4-
to_s.tr('I', 'i').tr('*','').tr(' ','').to_c
4+
to_s.tr('I', 'i').delete(' *').to_c
55
end
66
end
77
end

0 commit comments

Comments
 (0)