/[escript]/branches/symbolic_from_3470/escript/py_src/symbolic/evaluator.py
ViewVC logotype

Diff of /branches/symbolic_from_3470/escript/py_src/symbolic/evaluator.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3630 by caltinay, Wed May 18 06:22:46 2011 UTC revision 3631 by caltinay, Thu Oct 20 03:12:46 2011 UTC
# Line 122  class Evaluator: Line 122  class Evaluator:
122          ret="\n".join([str(e) for e in self.expressions])+"\n"          ret="\n".join([str(e) for e in self.expressions])+"\n"
123          for k in self._subsdict:          for k in self._subsdict:
124              v=self._subsdict[k]              v=self._subsdict[k]
125              if hasattr(v, "getShape"):              if v.__class__.__name__=="Data":
126                  ret+="%s=<Data object>"%k                  ret+="%s=<Data object>"%k
127              else:              else:
128                  ret+="%s=%s"%(k,v)                  ret+="%s=%s"%(k,v)

Legend:
Removed from v.3630  
changed lines
  Added in v.3631

  ViewVC Help
Powered by ViewVC 1.1.26