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: docs/src/index.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,10 +111,10 @@ telling us exactly which variable is missing, and because of which processes it
111
111
model =processes_to_mtkmodel(processes[[1, 3]])
112
112
```
113
113
```
114
-
ERROR: ArgumentError: Variable x was introduced in process of variable z(t).
115
-
However, a process for x was not provided,
116
-
there is no default process for x, and x doesn't have a default value.
117
-
Please provide a process for variable x.
114
+
ERROR: ArgumentError: Variable x(t) was introduced in process of variable z(t).
115
+
However, a process for x(t) was not provided,
116
+
there is no default process for x(t), and (t)x doesn't have a default value.
117
+
Please provide a process for variable x(t).
118
118
```
119
119
120
120
If instead we "forgot" the ``y`` process, **PBM** will not error, but warn, and make ``y`` equal to a named parameter, since ``y`` has a default value:
@@ -129,8 +129,8 @@ parameters(model)
129
129
130
130
and the warning thrown was:
131
131
```julia
132
-
┌ Warning: Variable y was introduced in process of variable x(t).
133
-
│ However, a process for y was not provided,
132
+
┌ Warning: Variable y(t) was introduced in process of variable x(t).
133
+
│ However, a process fory(t) was not provided,
134
134
│ and there is no default process for it either.
135
135
│ Since it has a default value, we make it a parameter by adding a process:
0 commit comments