From 00368cae021232c5d96211ebc6dbfa4609d5d5f1 Mon Sep 17 00:00:00 2001 From: tevador Date: Thu, 21 Mar 2019 09:17:28 +0100 Subject: [PATCH] Fixed stats compilation --- src/InterpretedVirtualMachine.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InterpretedVirtualMachine.hpp b/src/InterpretedVirtualMachine.hpp index 3801187..d6da7e3 100644 --- a/src/InterpretedVirtualMachine.hpp +++ b/src/InterpretedVirtualMachine.hpp @@ -121,7 +121,7 @@ namespace RandomX { int count_retdepth = 0; int count_retdepth_max = 0; int count_endstack = 0; - int count_instructions[ProgramLength] = { 0 }; + int count_instructions[RANDOMX_PROGRAM_SIZE] = { 0 }; int count_FADD_nop = 0; int count_FADD_nop2 = 0; int count_FSUB_nop = 0;