From c28fd425dbe8f14042df1609640bcdbf8b398773 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 28 May 2023 23:33:32 +0200 Subject: [PATCH] DRC bugfix --- src/drc/drc/built-in-macros/_drc_engine.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drc/drc/built-in-macros/_drc_engine.rb b/src/drc/drc/built-in-macros/_drc_engine.rb index 275e3cf2e..8493bbf85 100644 --- a/src/drc/drc/built-in-macros/_drc_engine.rb +++ b/src/drc/drc/built-in-macros/_drc_engine.rb @@ -2656,7 +2656,7 @@ CODE self.log(fmt % info) n += 1 if @profile_n > 0 && n > @profile_n - self.log("... (%d entries skipped)" % (pi.size - nmax)) + self.log("... (%d entries skipped)" % (pi.size - @profile_n)) break end end @@ -2669,7 +2669,7 @@ CODE self.log(fmt % info) n += 1 if @profile_n > 0 && n > @profile_n - self.log("... (%d entries skipped)" % (pi.size - nmax)) + self.log("... (%d entries skipped)" % (pi.size - @profile_n)) break end end