From ea5226f815eb804035eabf8cb7f4e5c107b29dee Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 18 Feb 2010 11:58:16 +0000 Subject: [PATCH] efficiency git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@506 be28352e-c001-0410-b1a7-c7978e42abec --- src/uk/ac/vamsas/objects/utils/Range.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uk/ac/vamsas/objects/utils/Range.java b/src/uk/ac/vamsas/objects/utils/Range.java index 8e4c314..ca7a3a0 100644 --- a/src/uk/ac/vamsas/objects/utils/Range.java +++ b/src/uk/ac/vamsas/objects/utils/Range.java @@ -98,7 +98,7 @@ public class Range { // discontinuities. int pos = dseta.getPos(0).getI(); se = new int[] { pos, pos }; - for (int p = 0, pSize = dseta.getPosCount(); p < pSize; p++) { + for (int p = 1, pSize = dseta.getPosCount(); p < pSize; p++) { pos = dseta.getPos(p).getI(); if (se[0] > pos) { se[0] = pos; -- 1.7.10.2