Skip to content

Divide by zero warnings in costs.py #4024

@clmould

Description

@clmould

Occurs when running integration or regression tests.

process/costs.py:3028: RuntimeWarning: invalid value encountered in sqrt
    annoam = cost_variables.ucoam[cost_variables.lsa - 1] * np.sqrt(
process/costs.py:3099: RuntimeWarning: invalid value encountered in sqrt
    annwst = cost_variables.ucwst[cost_variables.lsa - 1] * np.sqrt(

Metadata

Metadata

Assignees

No one assigned

    Labels

    Cost modelRelating to cost models

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions