Skip to content

Commit

Permalink
weights = weight
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzhao0217 committed Feb 19, 2025
1 parent f6da227 commit b527338
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions R/anime_join.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#' @export
# Define a helper function that runs anime and aggregates an attribute.
anime_join = function(source_data,
target_data,
Expand Down
2 changes: 1 addition & 1 deletion R/corenet.R
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ calculate_paths_from_point_dist = function(network, point, minDistPts = 2, maxDi
network,
from = point_geom,
to = sf::st_as_sfc(valid_centroids),
weights = weights_to_use,
weights = "weight",
type = path_type
)

Expand Down

0 comments on commit b527338

Please sign in to comment.