pmgbergen / porepy

Python Simulation Tool for Fractured and Deformable Porous Media
GNU General Public License v3.0
251 stars 88 forks source link

BUG: Safeguard against wrong "scaling" passed #1203

Closed IvarStefansson closed 5 months ago

IvarStefansson commented 5 months ago

Proposed changes

Passing of wrong parameter caused unwanted behaviour due to the last elif in the function being False.

Types of changes

What types of changes does this PR introduce to PorePy? Put an x in the boxes that apply.

Checklist

Put an x in the boxes that apply or explain briefly why the box is not relevant.