From 6714f3df0b32bbb6489bdb0080f5a909dc266404 Mon Sep 17 00:00:00 2001 From: Javad Saberlatibari <76922325+javadsaberlatibari@users.noreply.github.com> Date: Wed, 27 Mar 2024 16:06:58 -0700 Subject: [PATCH] Add files via upload --- wellcoordination/benchmark/rubis.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wellcoordination/benchmark/rubis.hpp b/wellcoordination/benchmark/rubis.hpp index b53a502..e27dd6a 100644 --- a/wellcoordination/benchmark/rubis.hpp +++ b/wellcoordination/benchmark/rubis.hpp @@ -98,7 +98,7 @@ class Rubis : public ReplicatedObject // 0 void sellItem(int s_id, int value) { - if(auction[a_id][3]==1){ + if(auction[s_id][3]==1){ auction[s_id][0]=value; } }