Skip to content

calculate_results takes x_airf_dist and z_airf_dist and reads neither #394

Description

@1-Bort-1

Since #393 forms alpha with inflow_angle(v, y_airf, z_airf), nothing in calculate_results reads its x_airf_dist and z_airf_dist positional arguments (src/body_aerodynamics.jl, the signature at function calculate_results(). The only in-repo callers are solve_base! in src/solver.jl and test/bench.jl, and both pass buffers that exist only for these two slots.

calculate_results is exported, so dropping the two arguments is a breaking change and was left out of #393. What I would do: remove both from the signature and the two callers, BREAKING: in the changelog, in whichever release next takes a breaking change. #94 (removing the results dict) rewrites the same function and is the natural place to fold it in.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions