Skip to content

Commit

Permalink
bug fix in ebsdHex/hex2cube
Browse files Browse the repository at this point in the history
fixes #631
  • Loading branch information
ralfHielscher committed Jan 9, 2021
1 parent 0522828 commit 753b5f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EBSDAnalysis/@EBSDhex/EBSDhex.m
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@
x = col - (row - ebsd.offset * ~iseven(round(row))) / 2;
z = row;
else
x = row - (col - ebsd.offset * ~iseven(round(col))) / 2;
z = col;
z = row - (col - ebsd.offset * ~iseven(round(col))) / 2;
x = col;
end
y = -x-z;

Expand Down

0 comments on commit 753b5f1

Please sign in to comment.