Skip to content

Commit

Permalink
fix: rename grad stepness to remove _
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlangrose committed Feb 6, 2024
1 parent 6f18788 commit e8a7877
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions LoopStructural/interpolators/_p2interpolator.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Piecewise linear interpolator
"""

import logging
from typing import Optional

Expand Down Expand Up @@ -42,7 +43,7 @@ def __init__(self, mesh):
"ipw": 1.0,
}

def _setup_interpolator(self, **kwargs):
def setup_interpolator(self, **kwargs):
"""
Searches through kwargs for any interpolation weights and updates
the dictionary.
Expand Down Expand Up @@ -205,7 +206,7 @@ def minimise_grad_steepness(
np.zeros(d2.shape[0]),
idc[:, :],
w=wt,
name=f"grad_steepness_{i}",
name=f"gradsteepness_{i}",
)

def minimise_edge_jumps(
Expand Down

0 comments on commit e8a7877

Please sign in to comment.