Commit b573713d authored by R.W.Majeed's avatar R.W.Majeed

fixed sort algorithm

parent d284a522
......@@ -112,6 +112,7 @@ public abstract class AbstractFacts {
// replace target values
facts.set(indices[i], facts.get(i));
sourceList.set(indices[i], sourceList.get(i));
indices[indices[i]] = indices[i];
// move old targets to old values
indices[i] = oldI;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment