Permalink
Browse files

Let the LHS participate in determining array layout order

  • Loading branch information...
1 parent aae2d35 commit b13c9e2c9408787817d0d85d1b304280d31342f9 @markflorisson committed Jun 21, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Cython/Compiler/Vector.py
@@ -425,8 +425,8 @@ def analyse_types(self, env):
self.all_contig = all_c_or_f_contig(self.operands)[0]
rhs_ndim = max(op.type.ndim for op in self.operands)
- self.array_layout = DetermineArrayLayoutNode(self.pos,
- operands=self.operands)
+ self.array_layout = DetermineArrayLayoutNode(
+ self.pos, operands=[self] + self.operands)
self.array_layout.analyse_types(env)
if not self.target:

0 comments on commit b13c9e2

Please sign in to comment.