Skip to content

Commit

Permalink
fix #91
Browse files Browse the repository at this point in the history
  • Loading branch information
mhesselbarth committed Feb 6, 2024
1 parent 75129cb commit d6baac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/distribution.R
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ methods::setMethod(
assertthat::assert_that( inherits(background,'SpatRaster') )

# Check that provided background has a valid crs
if(!is.na(terra::crs(background,describe=TRUE)[['code']])){
if(is.na(terra::crs(background,describe=TRUE)[['code']])){
if(getOption('ibis.setupmessages')) myLog('[Setup]','red','Provide a background with a valid projection!')
}

Expand Down

0 comments on commit d6baac2

Please sign in to comment.