[pyfr] 69/88: Fix a bug in the (unused) Line element type.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Nov 16 12:05:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository pyfr.

commit 62e49b84b0ddae9f9f5af03af9d77c2715b1f88a
Author: Freddie Witherden <freddie at witherden.org>
Date:   Mon Jul 25 09:44:05 2016 -0700

    Fix a bug in the (unused) Line element type.
---
 pyfr/polys.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyfr/polys.py b/pyfr/polys.py
index e803e44..567ce7d 100644
--- a/pyfr/polys.py
+++ b/pyfr/polys.py
@@ -95,7 +95,7 @@ class LinePolyBasis(BasePolyBasis):
 
     def jac_ortho_basis_at_py(self, p):
         djp = jacobi_diff(self.order - 1, 0, 0, p)
-        return [sqrt(i + 0.5)*p for i, p in enumerate(djp)]
+        return [(sqrt(i + 0.5)*p,) for i, p in enumerate(djp)]
 
     @lazyprop
     def degrees(self):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyfr.git



More information about the debian-science-commits mailing list