From: Derek Date: Tue, 7 Sep 2010 04:56:03 +0000 (-0400) Subject: Previously missed a line in BamReader.cpp with the recent index overhaul. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a9a9b2d45cf3417c28be9ac30ef51b16ce1875f6;p=bamtools.git Previously missed a line in BamReader.cpp with the recent index overhaul. --- diff --git a/src/api/BamReader.cpp b/src/api/BamReader.cpp index 874cd83..98ea758 100644 --- a/src/api/BamReader.cpp +++ b/src/api/BamReader.cpp @@ -3,7 +3,7 @@ // Marth Lab, Department of Biology, Boston College // All rights reserved. // --------------------------------------------------------------------------- -// Last modified: 3 September 2010 (DB) +// Last modified: 7 September 2010 (DB) // --------------------------------------------------------------------------- // Uses BGZF routines were adapted from the bgzf.c code developed at the Broad // Institute. @@ -383,7 +383,7 @@ bool BamReader::BamReaderPrivate::CreateIndex(bool useStandardIndex) { // create index based on type requested if ( useStandardIndex ) - NewIndex = new BamDefaultIndex(&mBGZF, Parent, IsBigEndian); + NewIndex = new BamStandardIndex(&mBGZF, Parent, IsBigEndian); // create BamTools 'custom' index else NewIndex = new BamToolsIndex(&mBGZF, Parent, IsBigEndian);