Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated Code Change #236

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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