From eed8b517bf4c2a51479bb5d4672bb6d3b7bc12f2 Mon Sep 17 00:00:00 2001 From: David Wendt Date: Thu, 10 Nov 2022 11:54:39 -0500 Subject: [PATCH] Fix regex working-memory-size refactor error --- cpp/src/strings/regex/regexec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/strings/regex/regexec.cpp b/cpp/src/strings/regex/regexec.cpp index 1c0a6869a2c..febad651f69 100644 --- a/cpp/src/strings/regex/regexec.cpp +++ b/cpp/src/strings/regex/regexec.cpp @@ -130,7 +130,7 @@ void reprog_device::destroy() { delete this; } std::size_t reprog_device::working_memory_size(int32_t num_threads) const { - return compute_working_memory_size(insts_counts(), num_threads); + return compute_working_memory_size(num_threads, insts_counts()); } std::pair reprog_device::compute_strided_working_memory(