Skip to content

Commit 13c8997

Browse files
committed
Fix directive typo
1 parent db5add9 commit 13c8997

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

SimPEG/directives/directives.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2174,16 +2174,13 @@ def getWr(self):
21742174
wr += prob_JtJ
21752175

21762176
wr /= wr.max()
2177-
2177+
wr **= 0.5
21782178
if self.method == "percent_amplitude":
21792179
wr += np.abs(wr.max() - wr.min()) * self.threshold / 100.
21802180
elif self.method == "percentile":
2181-
np.percentile(wr, self.threshold) #threshold
2181+
wr += np.percentile(wr, self.threshold)
21822182
else:
21832183
wr += self.threshold
2184-
2185-
wr **= 0.5
2186-
21872184
else:
21882185
wr += 1.0
21892186

0 commit comments

Comments
 (0)