Skip to content

Commit

Permalink
fix bug in the polar decomposition
Browse files Browse the repository at this point in the history
  • Loading branch information
kingofthebongo2008 committed Jul 21, 2020
1 parent 1f84260 commit 17d421d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wavelet_spline/include/svd_hlslpp/svd_hlsl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ namespace svdhlslcpp
svd_result_polar res;

res.m_u = mul(usv.m_u, transpose(usv.m_v));
res.m_h = mul(usv.m_s, usv.m_v);
res.m_h = mul(usv.m_v, mul(usv.m_s, transpose(usv.m_v)));

return res;
}
Expand Down

0 comments on commit 17d421d

Please sign in to comment.