Skip to content

Commit

Permalink
fix penalty
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtuck committed Aug 20, 2023
1 parent a97c2a0 commit 0f9746b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fdasrsf/DP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ double CostFn2(const double *q1L, const double *q2L, int k, int l, int i, int j,
tmp_pen = acos(q1dotq2)*acos(q1dotq2);
}

tmp = q1L[n*x + d] - sqrtm*q2L[n*idx + d];
tmp = q1L[n*x + d] - q2L[n*idx + d];
E += (tmp*tmp + lam*tmp_pen);
}
}
Expand Down

0 comments on commit 0f9746b

Please sign in to comment.