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
8
int
main
(
int
,
char
**) {
9
10
CLHEP::HepVector
fXVector;
11
fXVector =
CLHEP::HepVector
(32);
12
std::cout <<
"fXVector, 1, 2 : "
<< fXVector(1) <<
", "
<< fXVector(2) << std::endl;
13
14
fXVector(1)=99;
15
fXVector(31)=199;
16
17
std::cout <<
"fXVector, 1, 31 : "
<< fXVector(1) <<
", "
<< fXVector(31) << std::endl;
18
19
return
0;
20
}
21
CLHEP::HepVector
Definition:
Vector.h:35
main
int main()
Definition:
testBug66214.cc:30
CLHEP-CLHEP_2_4_6_4
Matrix
test
testBug104262.cc
Generated by
1.9.6