CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
testBug104262.cc
Go to the documentation of this file.
1// test for bug https://savannah.cern.ch/bugs/?104262
2// problem reported when using g++ -D_GLIBCXX_DEBUG flag
3
4#include "CLHEP/Matrix/Vector.h"
5
6#include <iostream>
7
8int main(int, char **) {
9
10CLHEP::HepVector fXVector;
11fXVector = CLHEP::HepVector(32);
12std::cout << "fXVector, 1, 2 : " << fXVector(1) << ", " << fXVector(2) << std::endl;
13
14fXVector(1)=99;
15fXVector(31)=199;
16
17std::cout << "fXVector, 1, 31 : " << fXVector(1) << ", " << fXVector(31) << std::endl;
18
19return 0;
20}
21
int main()
Definition: testBug66214.cc:30