Commit de578d69 authored by Yuxin Wu's avatar Yuxin Wu

fix error message (#431)

parent 584e9cd4
......@@ -72,7 +72,7 @@ class GraphVarParam(HyperParam):
self.var = v
break
else:
raise ValueError("{} is not a GLOBAL_VARIABLE in the graph!".format(self.var_name))
raise ValueError("{} is not a variable in the graph!".format(self.var_name))
def set_value(self, v):
""" Assign the variable a new value. """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment