Skip to content

Conversation

thatzopoulos
Copy link
Contributor

Fixes #719

@thatzopoulos thatzopoulos force-pushed the th/integral-stabilization branch from bea0a57 to 4257d72 Compare March 1, 2023 20:13
Copy link
Contributor

@WireBaron WireBaron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like we also need an arrow accessor for the interpolated_integral. You can look at how I did this in #716 if you have any questions.

@thatzopoulos thatzopoulos force-pushed the th/integral-stabilization branch 2 times, most recently from a6b9467 to c280c50 Compare March 3, 2023 21:49
None
};

// Convert from num of milliseconds to DurationUnit and then to string
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section of code is a workaround for the DurationUnit enum not working with the flat_serialize macro.

@thatzopoulos thatzopoulos requested review from syvb and WireBaron March 6, 2023 16:47
@thatzopoulos thatzopoulos force-pushed the th/integral-stabilization branch from 6e3123f to d5a6bc6 Compare March 6, 2023 21:05
Copy link
Contributor

@WireBaron WireBaron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just address the last few comments and this is ready to merge.

start : i64,
interval : i64,
prev : TimeWeightSummaryData,
pad : [u8;3],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uff, bit late to do anything about this, but seems like we should have made our pg_type objects aligned so they could be composed without needing padding.

@thatzopoulos thatzopoulos force-pushed the th/integral-stabilization branch 2 times, most recently from 3eecfa5 to 85addbe Compare March 6, 2023 21:07
@thatzopoulos thatzopoulos force-pushed the th/integral-stabilization branch from 85addbe to 79ccfbb Compare March 6, 2023 21:12
@thatzopoulos
Copy link
Contributor Author

bors r+

@bors
Copy link
Contributor

bors bot commented Mar 6, 2023

@bors bors bot merged commit f518404 into main Mar 6, 2023
@bors bors bot deleted the th/integral-stabilization branch March 6, 2023 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stabilize Integral and interpolated_integral
3 participants