@@ -1215,27 +1215,6 @@ function link!!(
1215
1215
return Accessors. @set vi. varinfo = DynamicPPL. link!! (t, vi. varinfo, spl, model)
1216
1216
end
1217
1217
1218
- """
1219
- link!(vi::VarInfo, spl::Sampler)
1220
-
1221
- Transform the values of the random variables sampled by `spl` in `vi` from the support
1222
- of their distributions to the Euclidean space and set their corresponding `"trans"`
1223
- flag values to `true`.
1224
- """
1225
- function link! (vi:: VarInfo , spl:: AbstractSampler )
1226
- Base. depwarn (
1227
- " `link!(varinfo, sampler)` is deprecated, use `link!!(varinfo, sampler, model)` instead." ,
1228
- :link! ,
1229
- )
1230
- return _link! (vi, spl)
1231
- end
1232
- function link! (vi:: VarInfo , spl:: AbstractSampler , spaceval:: Val )
1233
- Base. depwarn (
1234
- " `link!(varinfo, sampler, spaceval)` is deprecated, use `link!!(varinfo, sampler, model)` instead." ,
1235
- :link! ,
1236
- )
1237
- return _link! (vi, spl, spaceval)
1238
- end
1239
1218
function _link! (vi:: UntypedVarInfo , spl:: AbstractSampler )
1240
1219
# TODO : Change to a lazy iterator over `vns`
1241
1220
vns = _getvns (vi, spl)
@@ -1313,29 +1292,6 @@ function maybe_invlink_before_eval!!(vi::VarInfo, context::AbstractContext, mode
1313
1292
return maybe_invlink_before_eval!! (t, vi, context, model)
1314
1293
end
1315
1294
1316
- """
1317
- invlink!(vi::VarInfo, spl::AbstractSampler)
1318
-
1319
- Transform the values of the random variables sampled by `spl` in `vi` from the
1320
- Euclidean space back to the support of their distributions and sets their corresponding
1321
- `"trans"` flag values to `false`.
1322
- """
1323
- function invlink! (vi:: VarInfo , spl:: AbstractSampler )
1324
- Base. depwarn (
1325
- " `invlink!(varinfo, sampler)` is deprecated, use `invlink!!(varinfo, sampler, model)` instead." ,
1326
- :invlink! ,
1327
- )
1328
- return _invlink! (vi, spl)
1329
- end
1330
-
1331
- function invlink! (vi:: VarInfo , spl:: AbstractSampler , spaceval:: Val )
1332
- Base. depwarn (
1333
- " `invlink!(varinfo, sampler, spaceval)` is deprecated, use `invlink!!(varinfo, sampler, model)` instead." ,
1334
- :invlink! ,
1335
- )
1336
- return _invlink! (vi, spl, spaceval)
1337
- end
1338
-
1339
1295
function _invlink! (vi:: UntypedVarInfo , spl:: AbstractSampler )
1340
1296
vns = _getvns (vi, spl)
1341
1297
if istrans (vi, vns[1 ])
0 commit comments