minor fix

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2011-12-06 07:10:56 +00:00
parent 0cd7a3553f
commit 3f9b2ef5f7

View File

@ -1205,7 +1205,10 @@ sub findSNsinBB {
my $framebase = $$framename{'primary-start'};
foreach my $p (@snpositions) {
my $cecbase = 0;
my $frame = $framebase;
my $framehash = parsenoderange($STANZAS{'xcat-frames'});
my $frame1 = $$framehash{'primary-start'};
my $frame = $frame1;
#my $frame = $framebase;
while ($p > ($cecbase + ($NUMCECSINFRAME{$frame}||$cecsperframe))) {
# p is not in this frame, go on to the next
$cecbase += $NUMCECSINFRAME{$frame} || $cecsperframe;