From 775976816e924675b75c82d4365a3b5bbb735757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Sun, 26 Jan 2020 11:04:57 +0200 Subject: [PATCH] Use translation cache in beyn's algorithm (full matrix only) Former-commit-id: b9f95a726a8f4de7e6822c38089ca149e4fad1c9 --- qpms/scatsystem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qpms/scatsystem.c b/qpms/scatsystem.c index dfc42c1..283dca1 100644 --- a/qpms/scatsystem.c +++ b/qpms/scatsystem.c @@ -1925,6 +1925,7 @@ static int qpms_scatsys_finite_eval_Beyn_ImTS(complex double *target, const struct qpms_scatsys_finite_eval_Beyn_ImTS_param *p = params; qpms_scatsys_at_omega_t *ssw = qpms_scatsys_at_omega(p->ss, omega); QPMS_ENSURE(ssw != NULL, "qpms_scatsys_at_omega() returned NULL"); + if(p->ss->tbooster) qpms_ssw_create_translation_cache(ssw); if (p->iri == QPMS_NO_IRREP) { QPMS_ASSERT(m == p->ss->fecv_size); QPMS_ENSURE(NULL != qpms_scatsysw_build_modeproblem_matrix_full(