Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea-Havron-NOAA committed Jun 12, 2024
1 parent 427f462 commit 7617612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/operators.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ setMethod("Ops", signature(e1 = "Rcpp_Parameter", e2 = "Rcpp_Parameter"),
#' @rdname Ops
setMethod("Ops", signature(e1 = "Rcpp_Parameter", e2 = "numeric"),
function(e1, e2){
if(length(e2) != 1)){
if(length(e2) != 1){
stop("Call to operator Ops, value not scalar")
}
ret = new(Parameter)
Expand Down

0 comments on commit 7617612

Please sign in to comment.