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

SCM Repository

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

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

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

revision 4247, Thu Jul 21 23:36:52 2016 UTC revision 4248, Fri Jul 22 13:26:01 2016 UTC
# Line 375  Line 375 
375      rtn = 0      rtn = 0
376      for i in range(n):      for i in range(n):
377              for j in range(m):              for j in range(m):
378                  rtn+=exp1[i][i]*exp2[i][i]                  rtn+=exp1[i][j]*exp2[i][j]
379      return rtn      return rtn
380    
381    

Legend:
Removed from v.4247  
changed lines
  Added in v.4248

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