From 6a6692c6594c14bbb3a43f0eb9c4ef8842e8eb1c Mon Sep 17 00:00:00 2001 From: JonasRieger Date: Mon, 27 Nov 2023 09:25:43 +0100 Subject: [PATCH] CRAN things... --- src/ldagibbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ldagibbs.c b/src/ldagibbs.c index 547ce68..406a58a 100644 --- a/src/ldagibbs.c +++ b/src/ldagibbs.c @@ -143,7 +143,7 @@ SEXP ldagibbs(SEXP documents, // und speichere zusaetzlich in zs SEXP zs = VECTOR_ELT(assignments, dd); if (!zs) { - error("Unable to allocate memory for document (%d) assignments", dd); + error("Unable to allocate memory for document (%ld) assignments", dd); } for (ww = 0; ww < nw; ++ww) {