aboutsummaryrefslogtreecommitdiff
path: root/brandt.c
diff options
context:
space:
mode:
Diffstat (limited to 'brandt.c')
-rw-r--r--brandt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/brandt.c b/brandt.c
index 0c7b40e..337de57 100644
--- a/brandt.c
+++ b/brandt.c
@@ -73,7 +73,10 @@ BRANDT_bidder_start (struct BRANDT_Auction *auction,
* encrypt_bid round to show that the bidder has chosen a valid bid and the
* outcome callback will remap the result to the original k price values. */
if (auction_mPlusFirstPrice == atype)
+ {
auction->k *= n;
+ auction->b = auction->b * n + n - i - 1;
+ }
if (handler_prep[atype][outcome][msg_init])
handler_prep[atype][outcome][msg_init] (auction);