Skip to content

Conversation

@mhucka
Copy link
Member

@mhucka mhucka commented Jan 4, 2025

Previously, util_qsim.h included the definitions of the function BalanceTrajectory. This led to compiler warnings about undefined functions in places that included util_qsim.h but didn't use all variants of BalanceTrajectory.

This refactor simply moves BalanceTrajectory to its own file (util_balance_trajectory.cc), and also moves the relevant tests from util_qsim_test.cc to the corresponding util_balance_trajectory.cc.

mhucka added 3 commits January 4, 2025 20:26
Previously, util_qsim.h included the definitions of the function
`BalanceTrajectory`. This led to compiler warnings about undefined
functions in places that included util_qsim.h but didn't use all
variants of `BalanceTrajectory`.

This refactor moves `BalanceTrajectory` to its own file
(util_balance_trajectory.cc), and also moves the relevant tests from
util_qsim_test.cc to the corresponding util_balance_trajectory.cc.
@mhucka mhucka marked this pull request as ready for review January 4, 2025 22:55
@mhucka mhucka mentioned this pull request Jan 4, 2025
@mhucka mhucka added kind/chore Maintenance & housekeeping tasks area/health Involves general matters of project configuration, health, maintenance, and similar concerns labels Jan 5, 2025
@mhucka mhucka self-assigned this Jan 5, 2025
Copy link
Collaborator

@MichaelBroughton MichaelBroughton left a comment

Choose a reason for hiding this comment

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

LGTM

@mhucka mhucka merged commit 5fecece into tensorflow:master Jan 7, 2025
6 of 7 checks passed
@mhucka mhucka mentioned this pull request Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/health Involves general matters of project configuration, health, maintenance, and similar concerns kind/chore Maintenance & housekeeping tasks

Development

Successfully merging this pull request may close these issues.

2 participants