diff --git a/R/Utils.R b/R/Utils.R index c5f034c35b33e13e5c318a6be59281f1071baaed..ec1541532f0aa9720930ab5a326d739ce73d3e72 100644 --- a/R/Utils.R +++ b/R/Utils.R @@ -239,8 +239,8 @@ } else { NA } - if (identical(nlons, length(lon)) && - identical(nlats, length(lat))) { + if ((nlons == length(lon)) && + (nlats == length(lat))) { TRUE } else { FALSE