Skip to content

Swapped arguments to well_conn_alloc in well_conn_alloc_wellhead #1215

Description

@eivindjahren

In well_conn_alloc_wellhead(), the arguments to well_conn_alloc() are swapped: open is cast to the direction enum and well_conn_dirZ is passed where the open boolean should be. This will set an incorrect direction for the wellhead connection (and always treat it as open).

Also in well_conn_alloc_wellhead(), the arguments to well_conn_alloc_fracture() are swapped (same issue as the matrix_connection branch): open is being cast to the direction enum and well_conn_dirZ is passed as the open boolean.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions