From 9a73b9662b16a990370ac5142bf4cf1f782d801f Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Tue, 11 Apr 2017 15:10:52 +0200 Subject: [PATCH] fix EMGLLF.c (there was one extra iteration) --- pkg/src/sources/EMGLLF.c | 5 +++-- test/generateRunSaveTest_EMGLLF.R | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/src/sources/EMGLLF.c b/pkg/src/sources/EMGLLF.c index a57a379..d2f5a8e 100644 --- a/pkg/src/sources/EMGLLF.c +++ b/pkg/src/sources/EMGLLF.c @@ -61,7 +61,7 @@ void EMGLLF_core( Real* Rho = (Real*)malloc(m*m*k*sizeof(Real)); Real* Pi = (Real*)malloc(k*sizeof(Real)); - for (int ite=0; ite