Skip to content

Commit 4810374

Browse files
torfjeldeyebai
andauthored
Apply suggestions from code review
Co-authored-by: Hong Ge <[email protected]>
1 parent 32b77ac commit 4810374

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/abstract_varinfo.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ end
388388
link([t::AbstractTransformation, ]vi::AbstractVarInfo, model::Model)
389389
link([t::AbstractTransformation, ]vi::AbstractVarInfo, spl::AbstractSampler, model::Model)
390390
391-
Transform the variables in `vi` to their linked space, using the transformation `t`.
391+
Transform the variables in `vi` to their linked space without mutating `vi`, using the transformation `t`.
392392
393393
If `t` is not provided, `default_transformation(model, vi)` will be used.
394394
@@ -458,7 +458,7 @@ end
458458
invlink([t::AbstractTransformation, ]vi::AbstractVarInfo, model::Model)
459459
invlink([t::AbstractTransformation, ]vi::AbstractVarInfo, spl::AbstractSampler, model::Model)
460460
461-
Transform the variables in `vi` to their constrained space, using the (inverse of)
461+
Transform the variables in `vi` to their constrained space without mutating `vi`, using the (inverse of)
462462
transformation `t`.
463463
464464
If `t` is not provided, `default_transformation(model, vi)` will be used.

0 commit comments

Comments
 (0)