Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
Fix changed matrix memory layout for numpy 1.8 (reported by Peter Pot…
Browse files Browse the repository at this point in the history
…rowl)
  • Loading branch information
inducer committed Feb 16, 2014
1 parent c2552bc commit 6c92cff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hedge/discretization/local.py
Expand Up @@ -255,7 +255,9 @@ def differentiation_matrices(self):
from hedge.tools import leftsolve
# see doc/hedge-notes.tm
v = self.vandermonde()
return [leftsolve(v, vdiff) for vdiff in self.grad_vandermonde()]
return [numpy.asarray(
leftsolve(v, vdiff), order="C")
for vdiff in self.grad_vandermonde()]

# }}}

Expand Down

0 comments on commit 6c92cff

Please sign in to comment.