Skip to content

Commit

Permalink
bench/benchQio: fix newSeqWith
Browse files Browse the repository at this point in the history
  • Loading branch information
jxy committed Sep 25, 2024
1 parent ba7f3c5 commit e2914fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bench/benchQio.nim
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ proc test(lat: seq[int]) =
var rs = newRNGField(RngMilc6, lo, intParam("seed", 987654321).uint64)
#var r0 = lo.RealS()
#var r1 = lo.RealS()
var r0 = newSeqWith[type lo.ColorMatrixS](4, lo.ColorMatrixS)
var r1 = newSeqWith[type lo.ColorMatrixS](4, lo.ColorMatrixS)
var r0 = newSeqWith(4, lo.ColorMatrixS)
var r1 = newSeqWith(4, lo.ColorMatrixS)
var fn = stringParam("fn", "testqio.lat")
let bytes = r0.len * r0[0].numNumbers * sizeof(r0[0][0].numberType)
byts.add bytes
Expand Down

0 comments on commit e2914fc

Please sign in to comment.