Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/ExRootAnalysis/ExRootProgressBar.cc

    r341014c rcab38f6  
    1414#include <iostream>
    1515
     16#include <string.h>
    1617#include <stdio.h>
    17 #include <string.h>
    1818
    1919using namespace std;
     
    4646  if(fEntries > 0)
    4747  {
    48     Int_t hashes = Int_t(Double_t(entry) / fEntries * fWidth);
     48    Int_t hashes = Int_t(Double_t(entry)/fEntries*fWidth);
    4949    if(hashes > fWidth) hashes = fWidth;
    5050    if(hashes != fHashes)
     
    5353      memset(fBar + hashes, '-', fWidth - hashes);
    5454      fHashes = hashes;
    55       fprintf(stderr, "** [%s] (%.2f%%)\r", fBar, Float_t(entry) / fEntries * 100.0);
     55      fprintf(stderr, "** [%s] (%.2f%%)\r", fBar, Float_t(entry)/fEntries*100.0);
    5656    }
    5757  }
     
    7777
    7878//------------------------------------------------------------------------------
     79
Note: See TracChangeset for help on using the changeset viewer.