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

SCM Repository

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

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

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

revision 4455, Wed Aug 24 23:39:30 2016 UTC revision 4456, Thu Aug 25 04:03:27 2016 UTC
# Line 88  Line 88 
88              (coeff1, exp1)= mk_exp(dim)              (coeff1, exp1)= mk_exp(dim)
89              (coeff2, exp2)= mk_exp(dim)              (coeff2, exp2)= mk_exp(dim)
90              (coeff3, exp3)= mk_exp(dim)              (coeff3, exp3)= mk_exp(dim)
   
91              coeffs= [ coeff1,coeff2, coeff3]              coeffs= [ coeff1,coeff2, coeff3]
92              exps = [exp1, exp2, exp3]              exps = [exp1, exp2, exp3]
93              #print " inside get vec(): exp1", exp1              return (coeffs, exps)
94              #print " inside get vec(): exp2", exp2          elif (n==4):
95              #print " inside get vec(): exp3", exp3              (coeff1, exp1)= mk_exp(dim)
96                (coeff2, exp2)= mk_exp(dim)
97                (coeff3, exp3)= mk_exp(dim)
98                (coeff4, exp4)= mk_exp(dim)
99                coeffs= [ coeff1,coeff2, coeff3, coeff4]
100                exps = [exp1, exp2, exp3, exp4]
101              return (coeffs, exps)              return (coeffs, exps)
102          else:          else:
103              raise Exception ("unsupported length:"+str(n))              raise Exception ("unsupported length:"+str(n))

Legend:
Removed from v.4455  
changed lines
  Added in v.4456

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