Skip to content

A shared file with commonly used functions (like isApprox) #594

Open

Description

@alicebarthel

For the ctests we have the shared header file OceanTestCommon.h to avoid redefining functions such as isApprox().
For the omega source code itself, we do not have this and different PRs end up rewriting it (e.g. #466).
It may be useful to clean up the code but having such functions in a shared header file in /src/.

Activity

  1. mwarusz commented on Oct 7, 2026

    @mwarusz
    Member

    A similar question came up in the review of #438 (comment). I already started working on a common MathUtils header.

  2. self-assigned this
    on Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestquestionFurther information is requested

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions