Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 720390465
  • Loading branch information
Pandemic-Sim Team authored and copybara-github committed Jan 29, 2025
1 parent f62389c commit 5ab8d5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ class TracingRiskScore : public RiskScore {
RequestTest(request_time);
}

VisitAdjustment GetVisitAdjustment(const Timestep& timestep,
const int64 location_uuid) const override {
VisitAdjustment GetVisitAdjustment(
const Timestep& timestep, const int64_t location_uuid) const override {
const bool skip_visit =
location_type_(location_uuid) != LocationReference::HOUSEHOLD &&
(ShouldQuarantineFromContacts(timestep));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ absl::Time TimeFromDay(const int day) { return TimeFromDayAndHour(day, 0); }
std::vector<float> FrequencyAdjustments(RiskScore& risk_score,
absl::Span<const Exposure> exposures,
const LocationReference::Type type) {
int64 location_uuid = type == LocationReference::BUSINESS ? 0 : 1;
int64_t location_uuid = type == LocationReference::BUSINESS ? 0 : 1;

auto exposure = exposures.begin();
std::vector<float> adjustments;
Expand All @@ -62,7 +62,7 @@ class RiskScoreTest : public testing::Test {
protected:
std::unique_ptr<RiskScore> GetRiskScore() {
auto risk_score_or = CreateTracingRiskScore(
GetTracingPolicyProto(), [](const int64 location_uuid) {
GetTracingPolicyProto(), [](const int64_t location_uuid) {
return location_uuid == 0 ? LocationReference::BUSINESS
: LocationReference::HOUSEHOLD;
});
Expand Down

0 comments on commit 5ab8d5f

Please sign in to comment.