Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SwathiSheshadri authored Dec 12, 2019
1 parent 00f5766 commit b7d66e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Codes/helper_functions/simple_3Ddata_plotter.m
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
i_1 = drawline(ipairs,1);
i_2 = drawline(ipairs,2);
%Edge length reconstruction
recondata(:,ipairs,imodes) = sqrt(sum((coords3d(:,3*(i_1-1)+1:3*i_1,1) - coords3d(:,3*(i_2-1)+1:3*i_2,1)) .^ 2,2));
recondata(:,ipairs,imodes) = sqrt(sum((coords3d(:,3*(i_1-1)+1:3*i_1,imodes) - coords3d(:,3*(i_2-1)+1:3*i_2,imodes)) .^ 2,2));
errorinrecon(:,ipairs,imodes) = abs(recondata(:,ipairs,imodes) - ground_truth(ipairs));

end
Expand Down

0 comments on commit b7d66e8

Please sign in to comment.