Skip to content

Commit

Permalink
automatic formatting
Browse files Browse the repository at this point in the history
triggered by @exaexa on PR #4
  • Loading branch information
exaexa committed Jan 21, 2023
1 parent 697df4d commit b952392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AffineHR.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function sample(m::COBREXA.MetabolicModel, warmup::AbstractMatrix, npts::Int, it
lmin .= maximum(ifelse.(isfinite.(lmins), lmins, -Inf32), dims = 1)
lmax .= minimum(ifelse.(isfinite.(lmaxs), lmaxs, Inf32), dims = 1)

# generate random lambdas and compute new points
# generate random lambdas and compute new points
@cuda threads = 256 blocks = 32 TeaRNG.device_fill_rand!(lws, iter * 2 + 1)
newpts .= pts + dirs .* (lmin .+ lws .* (lmax .- lmin))

Expand Down

0 comments on commit b952392

Please sign in to comment.