From 12bbb53155d9e9bc8b89187621a45d182580e2a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Thu, 11 May 2017 04:51:01 +0300 Subject: [PATCH] fix of fix Former-commit-id: ac535492f048c29382633fbdbe6ee9c3f62a6b73 --- qpms/hexpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qpms/hexpoints.py b/qpms/hexpoints.py index f437e40..1cef8ea 100644 --- a/qpms/hexpoints.py +++ b/qpms/hexpoints.py @@ -494,7 +494,7 @@ def hexlattice_zsym_getSVD(lMax, TMatrices_om, epsilon_b, hexside, maxlayer, ome phases_self *= unitcell_envelope phases_u2d *= u2d_envelope phases_d2u *= d2u_envelope - leftmatrix = np.zeros(k.shape[0],2,2,nelem, 2,2,nelem), dtype=complex) + leftmatrix = np.zeros((k.shape[0],2,2,nelem, 2,2,nelem), dtype=complex) # 0:[u,E<--u,E ] # 1:[d,M<--d,M ] leftmatrix[:,0,0,:,0,0,:] = np.tensordot(a_self,phases_self, axes=(0,-1)) # u2u, E2E