Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling authored Apr 10, 2024
1 parent 0690fc9 commit 87d1ef9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion include/nigiri/query_generator/generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "nigiri/query_generator/generator_settings.h"
#include "nigiri/query_generator/transport_mode.h"
#include "nigiri/routing/query.h"
//

namespace nigiri {
struct timetable;
Expand Down
1 change: 1 addition & 0 deletions include/nigiri/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ enum class event_type { kArr, kDep };
enum class direction { kForward, kBackward };

using transport_mode_id_t = std::int32_t;

} // namespace nigiri

#include <iomanip>
Expand Down
3 changes: 0 additions & 3 deletions src/query_generator/generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ std::optional<location_idx_t> generator::random_active_location(
auto const to_tod = unix_iv.to_.time_since_epoch() % 1440;

for (auto i = 0U; i < kMaxGenAttempts; ++i) {

auto const transport_idx = random_transport_idx();
auto const stop_idx = random_active_stop(transport_idx, et);
if (!stop_idx.has_value()) {
Expand Down Expand Up @@ -215,7 +214,6 @@ void generator::add_offsets_for_pos(
}

std::optional<routing::query> generator::random_pretrip_query() {

for (auto i = 0U; i < kMaxGenAttempts; ++i) {
// start with a new query
auto q = make_query();
Expand Down Expand Up @@ -276,7 +274,6 @@ std::optional<routing::query> generator::random_pretrip_query() {
}

std::optional<routing::query> generator::random_ontrip_query() {

for (auto i = 0U; i < kMaxGenAttempts; ++i) {
// start with a new query
auto q = make_query();
Expand Down

0 comments on commit 87d1ef9

Please sign in to comment.