Hi here,
I've the following two lines of wolfram code written in two versions:
Version 1. This is the correct version:
getPGRotMat =getRotMat[If[MemberQ[RotMat[[1]]["CubiPrim"],
#],"CubiPrim","HexaPrim"],#]&;
Grid[Table[{PGinfo[[i,;;2]],{#\[RightArrow]getPGRotMat[#]} &
/@getPGElem[i]},{i,32}],Frame -> All]
Version 2. This is the wrong version:
getPGRotMat
=getRotMat[If[MemberQ[RotMat[[1]]["CubiPrim"],#],"CubiPrim","HexaPrim"],#]&;
Grid[Table[{PGinfo[i,;;2],{#\[RightArrow]getPGRotMat[#]} &
/@getPGElem[i]},{i,3}],Frame \[RightArrow] All]
I would like to know whether it's possible to quickly check for
differences in code and locate possible errors with the help of Emacs.
Any tips will be appreciated.
Regards,
Zhao