Skip to content

Temperatures input as list are not converted to float #283

@wittregr

Description

@wittregr

pMuTT v1.4.17

v1.4.17 contained a bug fix that enforced temperature inputs to thermodynamic calculations to be of astype float. The fix works for single values and ndarrays, but not for a list of values.

Need to add a method to recognize an input list and convert these values to float.

elif isinstance(T, list):
T = list(map(float, T))

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions