From a9a9b2d45cf3417c28be9ac30ef51b16ce1875f6 Mon Sep 17 00:00:00 2001 From: Derek Date: Tue, 7 Sep 2010 00:56:03 -0400 Subject: [PATCH] Previously missed a line in BamReader.cpp with the recent index overhaul. --- src/api/BamReader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2