Skip to content
Snippets Groups Projects
Commit a174cade authored by Fons Rademakers's avatar Fons Rademakers
Browse files

From Pere:

This fixes the running of stressGraphics test by having hsimple.cxx
to have the same number of entries as tutorials/hsimple.C.


git-svn-id: http://root.cern.ch/svn/root/trunk@41948 27541ba8-7e3a-0410-8455-c3a389f83636
parent e8aa8ab6
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,9 @@ if(NOT CMAKE_GENERATOR MATCHES Makefiles) ...@@ -17,6 +17,9 @@ if(NOT CMAKE_GENERATOR MATCHES Makefiles)
set(cfg $<CONFIGURATION>/) set(cfg $<CONFIGURATION>/)
endif() endif()
#---environment-------------------------------------------------------------------------------
ROOT_ADD_TEST(show-environment COMMAND ${CMAKE_COMMAND} -E environment)
#---hworld------------------------------------------------------------------------------------ #---hworld------------------------------------------------------------------------------------
ROOT_EXECUTABLE(hworld hworld.cxx LIBRARIES Gpad) ROOT_EXECUTABLE(hworld hworld.cxx LIBRARIES Gpad)
......
...@@ -48,7 +48,7 @@ int hsimple() ...@@ -48,7 +48,7 @@ int hsimple()
// Fill histograms randomly // Fill histograms randomly
Float_t px, py, pz; Float_t px, py, pz;
for ( Int_t i=0; i<10000; i++) { for ( Int_t i=0; i<25000; i++) {
gRandom->Rannor(px,py); //px and py will be two gaussian random numbers gRandom->Rannor(px,py); //px and py will be two gaussian random numbers
pz = px*px + py*py; pz = px*px + py*py;
Float_t random = gRandom->Rndm(1); Float_t random = gRandom->Rndm(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment