Skip to content

TOVsolver.solver_code.TOV_def documentation return type is unclear or incorect #120

Open
@rhaas80

Description

@rhaas80

The docs https://chunhuangphy.github.io/CompactObject/TOV_solver.html#TOVsolver.solver_code.TOV_def state

Returns:

The array that contains all the Stars’ masses, in M_sun as a Units.
Radius (array): The array that contains all the Stars’s radius, in km.
Tidal Deformability (array): The array that contains correpsonding Tidal property, These are dimension-less.

Return type:

Mass (array)

so "Returns" mentions multiple arrays but "Return type" only the first (Mass). The code itself return an array with four elements:

return np.array([dpdr, dmdr, dhdr, dfdr])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions