You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/model.jl
+13-8Lines changed: 13 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -57,24 +57,24 @@ function parse_varexpr(varexpr::Expr)
57
57
end
58
58
59
59
"""
60
-
normalize_tilde_arguments(args)
60
+
normalize_tilde_arguments(backend, model, args)
61
61
62
62
This function 'normalizes' every argument of a tilde expression making every inner function call to be a tilde expression as well.
63
63
It forces MSL to create anonymous node for any non-linear variable transformation or deterministic relationships. MSL does not check (and cannot in general)
64
64
if some inner function call leads to a constant expression or not (e.g. `Normal(0.0, sqrt(10.0))`). Backend API should decide whenever to create additional anonymous nodes
65
65
for constant non-linear transformation expressions or not by analyzing input arguments.
0 commit comments