Re: TMath::BinarySearch

From: Lorenzo Moneta <Lorenzo.Moneta_at_cern.ch>
Date: Wed, 1 Oct 2008 17:36:52 +0200


HelloYou,

  You are using a very old version of ROOT, can you try with the latest one (5.20) ?
I think we have fixed this bug some time ago,   Thank you

  Lorenzo
On Oct 1, 2008, at 4:19 PM, Pawan Kumar Netrakanti wrote:

> Hi,
>
> I am trying to use the TMath::BinarySearch and it seems
> some problem in the returning the 0th element of
> the array which has a perfect match.
>
> The example code is attached to this email.
>
> I am using
> *******************************************
> * *
> * W E L C O M E to R O O T *
> * *
> * Version 5.13/04 10 October 2006 *
> * *
> * You are welcome to visit our Web site *
> * http://root.cern.ch *
> * *
> *******************************************
> on
> Linux amdahl.physics.purdue.edu 2.4.29-rc1 #20 SMP Tue Aug 23
> 10:03:58 EST
> 2005 i686 GNU/Linux
>
> Thanks
> with best regards
> Pawan
>
>
> **************************************************
> Pawan Kumar Netrakanti
> Room# 247
> Physics Department, Purdue University
> 1396 Physics Building
> West Lafayette,
> IN - 47907-1396
> Ph: 765-494-5538
> **************************************************<Test.C>
Received on Wed Oct 01 2008 - 17:36:56 CEST

This archive was generated by hypermail 2.2.0 : Thu Oct 02 2008 - 17:50:01 CEST