Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/ExRootAnalysis/ExRootProgressBar.cc

    rcab38f6 r341014c  
    1414#include <iostream>
    1515
     16#include <stdio.h>
    1617#include <string.h>
    17 #include <stdio.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.