Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/ein16/synth/d2/obj_ty.py
ViewVC logotype

Diff of /branches/ein16/synth/d2/obj_ty.py

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

revision 4260, Mon Jul 25 19:03:07 2016 UTC revision 4261, Mon Jul 25 20:14:18 2016 UTC
# Line 419  Line 419 
419          return (False, "unsupported dim")          return (False, "unsupported dim")
420    
421  def shapeToTy(shapeout, dim):  def shapeToTy(shapeout, dim):
422      (_, shape) = shapeToTyhelper(shapeout, dim)      (tf, shape) = shapeToTyhelper(shapeout, dim)
423        if(tf):
424      return shape      return shape
425        else:
426            raise Exception ("shapeout",shapeout, "dim", dim, "rtn:",shape)
427  #concat two types to form a new type  #concat two types to form a new type
428  def concatTys(ty1, ty2):  def concatTys(ty1, ty2):
429      if (fty.is_Vector(ty1)):      if (fty.is_Vector(ty1)):

Legend:
Removed from v.4260  
changed lines
  Added in v.4261

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0