Skip to content

ode: handling compatiblity of ind var type and scalar types of operators #401

Open
@fnrizzi

Description

we currently require:

    && std::is_convertible<
      typename T::independent_variable_type,
      typename ::pressio::Traits<typename T::state_type>::scalar_type
      >::value

and inside we work with scalar_type but i think we should use std::common_t if possible and overall assess how to handle this better.
The main issue comes if one wants to use say a custom time type that has, e.g., a builtin unit.

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