aboutsummaryrefslogtreecommitdiff
path: root/tests/gradient_cell_asx.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-07-04 14:03:35 +0200
committerThomas White <taw@physics.org>2023-07-28 13:22:05 +0200
commit81e75a6820a01cd5b4d481e3e24c8a54b5bc77e5 (patch)
tree2eb53753ba038fe714fff2e99f43d2c3bedca455 /tests/gradient_cell_asx.c
parentef2a5b59b78ecf7df4b72795e0f08eec345b5b82 (diff)
Calculate panel Minvs
Diffstat (limited to 'tests/gradient_cell_asx.c')
-rw-r--r--tests/gradient_cell_asx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gradient_cell_asx.c b/tests/gradient_cell_asx.c
index c9c00ab0..1f37f7b6 100644
--- a/tests/gradient_cell_asx.c
+++ b/tests/gradient_cell_asx.c
@@ -53,9 +53,10 @@ int main(int argc, char *argv[])
double asx, asy, asz;
double bsx, bsy, bsz;
double csx, csy, csz;
- gsl_matrix *panel_matrices[64];
+ gsl_matrix **panel_matrices;
rps = make_test_image(&n_refls, &image);
+ panel_matrices = make_panel_minvs(image.detgeom);
before = make_dev_list(rps, n_refls, image.detgeom);
image.detgeom->panels[0].cnx += step;