aboutsummaryrefslogtreecommitdiff
path: root/relax_test.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2019-03-26 17:31:58 +0100
committerAnton Khirnov <anton@khirnov.net>2019-03-26 17:31:58 +0100
commita4a5fc2666bfd3ca009ce6c7d05bc83ff4d57313 (patch)
tree5bf0fa534ad8794cecd4d75580f372affe4ff7ff /relax_test.c
parent0e3f76cc16fa93a2b8d58922bae090828bfbf05a (diff)
egs_exact: do not construct the matrix more often than necessary
It does not change unless the diff coeffs change.
Diffstat (limited to 'relax_test.c')
-rw-r--r--relax_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/relax_test.c b/relax_test.c
index 54155ca..5c07107 100644
--- a/relax_test.c
+++ b/relax_test.c
@@ -134,7 +134,7 @@ int main(int argc, char **argv)
sizeof(*ctx->diff_coeffs[0]->data) * ctx->domain_size[0]);
}
- ret = mg2di_egs_init(ctx);
+ ret = mg2di_egs_init(ctx, 0);
if (ret < 0) {
fprintf(stderr, "Error initializing the solver context: %d\n", ret);
ret = 1;