Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
Grufoony committed Feb 18, 2025
1 parent ad3d73b commit 14084eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dsm/dsm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

static constexpr uint8_t DSM_VERSION_MAJOR = 2;
static constexpr uint8_t DSM_VERSION_MINOR = 4;
static constexpr uint8_t DSM_VERSION_PATCH = 0;
static constexpr uint8_t DSM_VERSION_PATCH = 1;

static auto const DSM_VERSION =
std::format("{}.{}.{}", DSM_VERSION_MAJOR, DSM_VERSION_MINOR, DSM_VERSION_PATCH);
Expand Down
3 changes: 2 additions & 1 deletion src/dsm/headers/Dynamics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ namespace dsm {
/// @param weightFunction A std::function returning a double value and taking as arguments a
/// pointer to the graph, an id of a source node and an id of a target node (for the edge)
/// @details The weight function must return the weight of the edge between the source and the
/// target node. One can use the predefined weight functions in the DijkstraWeights.hpp file.
/// target node. One can use the predefined weight functions in the DijkstraWeights.hpp file,
/// like weight_functions::streetLength or weight_functions::streetTime.
void setWeightFunction(std::function<double(const Graph*, Id, Id)> weightFunction);
/// @brief Set the weight treshold for updating the paths
/// @param weightTreshold The weight treshold
Expand Down

0 comments on commit 14084eb

Please sign in to comment.