Skip to content
Snippets Groups Projects
Commit d774425a authored by Mirar (Pontus Hagland)'s avatar Mirar (Pontus Hagland)
Browse files

Array. wasn't that a good idea..:

Rev: lib/modules/Array.pmod:1.12
parent 189dabbc
No related branches found
No related tags found
No related merge requests found
...@@ -194,8 +194,8 @@ array(array(array(mixed))) diff3(array mid,array left,array right) ...@@ -194,8 +194,8 @@ array(array(array(mixed))) diff3(array mid,array left,array right)
array lmid,ldst; array lmid,ldst;
array rmid,rdst; array rmid,rdst;
[lmid,ldst]=Array.diff(mid,left); [lmid,ldst]=diff(mid,left);
[rmid,rdst]=Array.diff(mid,right); [rmid,rdst]=diff(mid,right);
array res=({}); array res=({});
int lpos=0,rpos=0; int lpos=0,rpos=0;
...@@ -252,5 +252,5 @@ array(array(array(mixed))) diff3(array mid,array left,array right) ...@@ -252,5 +252,5 @@ array(array(array(mixed))) diff3(array mid,array left,array right)
n+=x; n+=x;
} }
return Array.transpose(res); return transpose(res);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment