Skip to content

Commit

Permalink
corrected bug related to testing of OJ_GU_seg
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarjalnefjord committed Jun 28, 2024
1 parent 4869ac4 commit f612601
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/original/OJ_GU/ivim_seg.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,10 @@ def _Ddiff(Y, yb, b, D):
f = _f_from_intercept(A, S0)

if Y.shape[0] == 1:
D = np.array(D)
f = np.array(f)
Dstar = np.array(Dstar)
S0 = np.array(S0)
D = D.item()
f = f.item()
Dstar = Dstar.item()
S0 = S0.item()

pars = {'D': D, 'f': f, 'Dstar': Dstar, 'S0': S0}
return pars

0 comments on commit f612601

Please sign in to comment.