Skip to content

Commit d6849cc

Browse files
committed
changed p to nothing in operator definition
1 parent 6479dd0 commit d6849cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ f(w, v, u, p, t) = w .= v .* u
4949
M = MatrixOperator(rand(N, N))
5050
D = DiagonalOperator(rand(N))
5151
# Fix: Specify that we're providing a parameter placeholder
52-
F = FunctionOperator(f, zeros(N), zeros(N); p=1.0, isconstant=true)
52+
F = FunctionOperator(f, zeros(N), zeros(N); p=nothing, isconstant=true)
5353
```
5454

5555
Then, the following codes just work.

0 commit comments

Comments
 (0)