Skip to content

Commit c0155ab

Browse files
committed
comment
1 parent 9cfc501 commit c0155ab

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/func.jl

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,10 @@ function FunctionOperator(op,
105105
end
106106

107107
if !isinplace & !outofplace
108-
@error "Please provide a funciton signature
109-
by specifying `isinplace` or, `outofplace`, or both as `true`, or `false`.
110-
If `isinplace = false`, the signature is `op(u, p, t)`,
111-
and if `isinplace = true`, the signature is `op(du, u, p, t)`.
112-
Further, it is assumed that the function call would be nonallocating
113-
when called in-place"
108+
@error "Please provide a funciton with signatures `op(u, p, t)` for applying
109+
the operator out-of-place, and/or the signature is `op(du, u, p, t)` for
110+
in-place application. Further, we assume that the function call would be
111+
nonallocating when called in-place"
114112
end
115113

116114
T isa Nothing && @error "Please provide a Number type for the Operator"

0 commit comments

Comments
 (0)