Skip to content
Snippets Groups Projects
Commit 7cc2a691 authored by Guillaume CLIVAZ's avatar Guillaume CLIVAZ
Browse files

fix: derivative computation of concatenated basis functions in spline2D_eikonal

parent 2e395ae9
Branches
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ def computePsiList(Tmat, param):
p1 = np.linspace(0, param.nbFct - 1, param.nbFct)
p2 = np.linspace(0, param.nbFct - 2, param.nbFct - 1)
T[d, :] = tt**p1
dT[d, 1:] = p1[1:] @ tt**p2 * param.nbSeg
dT[d, 1:] = p1[1:] * tt**p2 * param.nbSeg
idl[:, d] = id.astype("int") * param.nbFct + p1
# Reconstruct Psi for all dimensions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment