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

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

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

revision 563 by jgs, Wed Feb 22 04:45:15 2006 UTC revision 564 by jgs, Thu Feb 23 05:22:31 2006 UTC
# Line 60  def prepareArg(val,ex,wh): Line 60  def prepareArg(val,ex,wh):
60          else:          else:
61               exx=False               exx=False
62          out=Data(val[0],what=wh,expand=exx)          out=Data(val[0],what=wh,expand=exx)
63          if ex=="Tagged1":          if ex=="Tagged0":
64                out.tag()
65            elif ex=="Tagged1":
66              out.setTaggedValue(Tag1,val[1])              out.setTaggedValue(Tag1,val[1])
67          elif ex=="Tagged2":          elif ex=="Tagged2":
68              out.setTaggedValue(Tag1,val[1])              out.setTaggedValue(Tag1,val[1])
# Line 125  for wh in [ContinuousFunction(msh),Funct Line 127  for wh in [ContinuousFunction(msh),Funct
127    
128    print wh    print wh
129    
130    for ex1 in ["Array","Constant","Expanded","Tagged1","Tagged2"]:    for ex1 in ["Array","Constant","Expanded","Tagged0","Tagged1","Tagged2"]:
131    
132      for ex2 in ["Array","Constant","Expanded","Tagged1","Tagged2"]:      for ex2 in ["Array","Constant","Expanded","Tagged0","Tagged1","Tagged2"]:
133    
134        if ex1=="Array" and ex2=="Array":        if ex1=="Array" and ex2=="Array":
135          continue          continue

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

  ViewVC Help
Powered by ViewVC 1.1.26