Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Hong Ge <[email protected]>
  • Loading branch information
torfjelde and yebai authored Sep 1, 2023
1 parent 32b77ac commit 4810374
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/abstract_varinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ end
link([t::AbstractTransformation, ]vi::AbstractVarInfo, model::Model)
link([t::AbstractTransformation, ]vi::AbstractVarInfo, spl::AbstractSampler, model::Model)
Transform the variables in `vi` to their linked space, using the transformation `t`.
Transform the variables in `vi` to their linked space without mutating `vi`, using the transformation `t`.
If `t` is not provided, `default_transformation(model, vi)` will be used.
Expand Down Expand Up @@ -458,7 +458,7 @@ end
invlink([t::AbstractTransformation, ]vi::AbstractVarInfo, model::Model)
invlink([t::AbstractTransformation, ]vi::AbstractVarInfo, spl::AbstractSampler, model::Model)
Transform the variables in `vi` to their constrained space, using the (inverse of)
Transform the variables in `vi` to their constrained space without mutating `vi`, using the (inverse of)
transformation `t`.
If `t` is not provided, `default_transformation(model, vi)` will be used.
Expand Down

0 comments on commit 4810374

Please sign in to comment.