Skip to content

Commit

Permalink
don't know, just try one more
Browse files Browse the repository at this point in the history
  • Loading branch information
nvcnvn committed Sep 26, 2023
1 parent 2c9b7bb commit 069ddcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sif/motorcyclecost.cc
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class MotorcycleCost : public DynamicCost {
MotorcycleCost::MotorcycleCost(const Costing& costing)
: DynamicCost(costing, TravelMode::kDrive, kMotorcycleAccess),
trans_density_factor_{1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.1f, 1.12f, 1.13f,
1.14f, 1.16f, 1.19f, 1.2f, 1.3f, 1.4f, 1.8f, 2.0f} {
1.14f, 1.16f, 1.19f, 1.20f, 1.22f, 1.24f, 1.28f, 1.30f} {

const auto& costing_options = costing.options();

Expand Down Expand Up @@ -335,7 +335,7 @@ MotorcycleCost::MotorcycleCost(const Costing& costing)

// Set density factors - used to penalize edges in dense, urban areas
for (uint32_t d = 0; d < 16; d++) {
density_factor_[d] = 0.005f + (d * 0.0006f);
density_factor_[d] = 0.85f + (d * 0.018f);
}
}

Expand Down

0 comments on commit 069ddcf

Please sign in to comment.