/[escript]/trunk/escript/test/python/UnaryOps.py
ViewVC logotype

Diff of /trunk/escript/test/python/UnaryOps.py

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

revision 563 by jgs, Thu Feb 23 01:58:35 2006 UTC revision 564 by jgs, Thu Feb 23 05:22:31 2006 UTC
# Line 45  def prepareArg(val,ex,wh): Line 45  def prepareArg(val,ex,wh):
45          else:          else:
46              exx=False              exx=False
47          out=Data(val[0],what=wh,expand=exx)          out=Data(val[0],what=wh,expand=exx)
48          if ex=="Tagged1":          if ex=="Tagged0":
49                out.tag()
50            elif ex=="Tagged1":
51              out.setTaggedValue(Tag1,val[1])              out.setTaggedValue(Tag1,val[1])
52          elif ex=="Tagged2":          elif ex=="Tagged2":
53              out.setTaggedValue(Tag1,val[1])              out.setTaggedValue(Tag1,val[1])
# Line 110  for wh in [ContinuousFunction(msh),Funct Line 112  for wh in [ContinuousFunction(msh),Funct
112    
113    print wh    print wh
114    
115    for ex1 in ["Constant","Expanded","Tagged1","Tagged2"]:    for ex1 in ["Constant","Expanded","Tagged0","Tagged1","Tagged2"]:
116    
117      print "Unary Ops:", ex1      print "Unary Ops:", ex1
118    

Legend:
Removed from v.563  
changed lines
  Added in v.564

  ViewVC Help
Powered by ViewVC 1.1.26