aboutsummaryrefslogtreecommitdiff
path: root/brill_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'brill_data.py')
-rw-r--r--brill_data.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/brill_data.py b/brill_data.py
index 192f0aa..26c8efb 100644
--- a/brill_data.py
+++ b/brill_data.py
@@ -73,7 +73,7 @@ class BrillData(object):
c_diff_order[0] = diff_order[0]
c_diff_order[1] = diff_order[1]
- psi = np.empty((rho.shape[0], z.shape[0]))
+ psi = np.empty((z.shape[0], rho.shape[0]))
c_psi = np.ctypeslib.as_ctypes(psi)
c_rho = np.ctypeslib.as_ctypes(rho)
@@ -101,7 +101,7 @@ class BrillData(object):
c_component[0] = component[0]
c_component[1] = component[1]
- metric = np.empty((rho.shape[0], z.shape[0]))
+ metric = np.empty((z.shape[0], rho.shape[0]))
c_metric = np.ctypeslib.as_ctypes(metric)
c_rho = np.ctypeslib.as_ctypes(rho)
@@ -125,7 +125,7 @@ class BrillData(object):
c_diff_order[0] = diff_order[0]
c_diff_order[1] = diff_order[1]
- q = np.empty((rho.shape[0], z.shape[0]))
+ q = np.empty((z.shape[0], rho.shape[0]))
c_q = np.ctypeslib.as_ctypes(q)
c_rho = np.ctypeslib.as_ctypes(rho)