Skip to content

Commit e8a7877

Browse files
committed
fix: rename grad stepness to remove _
1 parent 6f18788 commit e8a7877

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

LoopStructural/interpolators/_p2interpolator.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Piecewise linear interpolator
33
"""
4+
45
import logging
56
from typing import Optional
67

@@ -42,7 +43,7 @@ def __init__(self, mesh):
4243
"ipw": 1.0,
4344
}
4445

45-
def _setup_interpolator(self, **kwargs):
46+
def setup_interpolator(self, **kwargs):
4647
"""
4748
Searches through kwargs for any interpolation weights and updates
4849
the dictionary.
@@ -205,7 +206,7 @@ def minimise_grad_steepness(
205206
np.zeros(d2.shape[0]),
206207
idc[:, :],
207208
w=wt,
208-
name=f"grad_steepness_{i}",
209+
name=f"gradsteepness_{i}",
209210
)
210211

211212
def minimise_edge_jumps(

0 commit comments

Comments
 (0)