mathviz 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/lib/mathviz.rb +2 -2
- metadata +2 -2
data/History.txt
CHANGED
data/lib/mathviz.rb
CHANGED
@@ -3,7 +3,7 @@ require 'graphviz_r'
|
|
3
3
|
# Top level object.
|
4
4
|
class MathViz
|
5
5
|
# RubyGem version
|
6
|
-
VERSION = '1.0.
|
6
|
+
VERSION = '1.0.2'
|
7
7
|
|
8
8
|
# Something to return instead of dividing by zero, etc.
|
9
9
|
Infinity = 1.0/0
|
@@ -249,7 +249,7 @@ class MathViz::Term
|
|
249
249
|
eval("local_variables", env).each do |var|
|
250
250
|
value = eval(var.to_s, env)
|
251
251
|
if value.respond_to? :name=
|
252
|
-
value.name = var
|
252
|
+
value.name = var.to_s
|
253
253
|
end
|
254
254
|
end
|
255
255
|
end
|