Skip to content

Commit

Permalink
fix: Correcting K for deniedAt filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudh2 committed May 3, 2023
1 parent 6dd9134 commit 5840fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AllocationOpt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function main(config::Dict)
rixs = deniedzeroixs(fs)

# Get max number of allocations
K = min(config["max_allocations"], length(fs) - length(rixs))
K = min(config["max_allocations"], length(rixs))

# Get gas cost in GRT
g = config["gas"]
Expand Down

0 comments on commit 5840fbd

Please sign in to comment.