Skip to content

Commit

Permalink
magic workaround for nim-lang/Nim#23853
Browse files Browse the repository at this point in the history
  • Loading branch information
mratsim committed Jul 18, 2024
1 parent fa4fb00 commit 70a27fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/bench_gt_parallel_template.nim
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ func random_gt*(rng: var RngState, F: typedesc): F {.inline, noInit.} =
type BenchMultiexpContext*[GT] = object
tp: Threadpool
numInputs: int
exponents: seq[getBigInt(GT.Name(), kScalarField)]
elems: seq[GT]
exponents: seq[getBigInt(GT.Name, kScalarField)]

proc createBenchMultiExpContext*(GT: typedesc, inputSizes: openArray[int]): BenchMultiexpContext[GT] =
result.tp = Threadpool.new()
Expand Down

0 comments on commit 70a27fc

Please sign in to comment.