@@ -265,7 +265,7 @@ function FunctionOperator(op,
265265 end
266266
267267 if ! _unwrap_val (_isinplace) & ! _unwrap_val (_outofplace)
268- @error """ Please provide a funciton with signatures `op(u, p, t)` for
268+ @error """ Please provide a function with signatures `op(u, p, t)` for
269269 applying the operator out-of-place, and/or the signature is
270270 `op(v, u, p, t)` for in-place application."""
271271 end
@@ -569,13 +569,13 @@ function _sizecheck(L::FunctionOperator, u, v)
569569 if ! isa (u, AbstractVecOrMat)
570570 msg = """ $L constructed with `batch = true` only
571571 accept input arrays that are `AbstractVecOrMat`s with
572- `size(L, 2) == size(u, 1)`. Recieved $(typeof (u)) ."""
572+ `size(L, 2) == size(u, 1)`. Received $(typeof (u)) ."""
573573 throw (ArgumentError (msg))
574574 end
575575
576576 if size (L, 2 ) != size (u, 1 )
577577 msg = """ $L accepts input `AbstractVecOrMat`s of size
578- ($(size (L, 2 )) , K). Recievd array of size $(size (u)) ."""
578+ ($(size (L, 2 )) , K). Received array of size $(size (u)) ."""
579579 throw (DimensionMismatch (msg))
580580 end
581581 end # u
@@ -584,13 +584,13 @@ function _sizecheck(L::FunctionOperator, u, v)
584584 if ! isa (v, AbstractVecOrMat)
585585 msg = """ $L constructed with `batch = true` only
586586 returns output arrays that are `AbstractVecOrMat`s with
587- `size(L, 1) == size(v, 1)`. Recieved $(typeof (v)) ."""
587+ `size(L, 1) == size(v, 1)`. Received $(typeof (v)) ."""
588588 throw (ArgumentError (msg))
589589 end
590590
591591 if size (L, 1 ) != size (v, 1 )
592592 msg = """ $L accepts output `AbstractVecOrMat`s of size
593- ($(size (L, 1 )) , K). Recievd array of size $(size (v)) ."""
593+ ($(size (L, 1 )) , K). Received array of size $(size (v)) ."""
594594 throw (DimensionMismatch (msg))
595595 end
596596 end # v
@@ -611,7 +611,7 @@ function _sizecheck(L::FunctionOperator, u, v)
611611 else # !batch
612612 if ! isnothing (u)
613613 if size (u) ∉ (sizes[1 ], tuple (size (L, 2 )))
614- msg = """ $L recievd input array of size $(size (u)) , but only
614+ msg = """ $L received input array of size $(size (u)) , but only
615615 accepts input arrays of size $(sizes[1 ]) , or vectors like
616616 `vec(u)` of size $(tuple (prod (sizes[1 ]))) ."""
617617 throw (DimensionMismatch (msg))
@@ -620,7 +620,7 @@ function _sizecheck(L::FunctionOperator, u, v)
620620
621621 if ! isnothing (v)
622622 if size (v) ∉ (sizes[2 ], tuple (size (L, 1 )))
623- msg = """ $L recievd output array of size $(size (v)) , but only
623+ msg = """ $L received output array of size $(size (v)) , but only
624624 accepts output arrays of size $(sizes[2 ]) , or vectors like
625625 `vec(u)` of size $(tuple (prod (sizes[2 ]))) """
626626 throw (DimensionMismatch (msg))
0 commit comments