Skip to content

Commit

Permalink
Fixed boundary issue
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipMostert committed Jan 25, 2024
1 parent 8b1ea12 commit d093018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/dataSDM.R
Original file line number Diff line number Diff line change
Expand Up @@ -2007,7 +2007,7 @@ dataSDM$set('public', 'initialize', function(coordinates, projection, Inlamesh,
if (!is.null(ips)) private$IPS <- ips
else {

if (is.null(boundary)) private$IPS <- st_transform(inlabru::fm_int(samplers = boundary, domain = Inlamesh), projection)
if (!is.null(boundary)) private$IPS <- st_transform(inlabru::fm_int(samplers = boundary, domain = Inlamesh), projection)
else private$IPS <- st_transform(inlabru::fm_int(domain = Inlamesh), projection)


Expand Down

0 comments on commit d093018

Please sign in to comment.