From 8f2b77aceaa7f43186a5ca942a68c59ce1647a66 Mon Sep 17 00:00:00 2001 From: Yoann Guilhem <yoann.guilhem@esrf.fr> Date: Sun, 2 Dec 2012 18:53:42 +0000 Subject: [PATCH] Bugfix on gtVectorLab2Cryst git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@936 4c865b51-4357-4376-afb4-474e03ccb993 --- zUtil_Cryst/gtVectorLab2Cryst.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zUtil_Cryst/gtVectorLab2Cryst.m b/zUtil_Cryst/gtVectorLab2Cryst.m index abb9fd2e..0178ef3b 100644 --- a/zUtil_Cryst/gtVectorLab2Cryst.m +++ b/zUtil_Cryst/gtVectorLab2Cryst.m @@ -63,7 +63,7 @@ elseif M > 1 && N == 1 % Compute Vc and permute to get in in row vectors Vc = permute(sum(sam2crys.*Vext([1 1 1], :, :), 2), [3 1 2]); -elseif M == N && sync +elseif M == N && diag % Convert cell to array of matrices sam2crys = cat(3, g{:}); -- GitLab