Browse Source

Merge pull request 'Use canonical order for the polarization products' (#3) from kettenis/jive-casa:canonical into master

Reviewed-on: https://code.jive.eu/verkout/jive-casa/pulls/3
master
Harro Verkouter 4 months ago
parent
commit
f64e5f92d4
  1. 6
      jive/labels/CorrelationCode.cc

6
jive/labels/CorrelationCode.cc

@ -109,13 +109,13 @@ ostream& operator<<(ostream& os, const CorrelationCode& c ) {
bool operator<(const CorrelationCode& l, const CorrelationCode& r ) {
static const CorrelationCode __order[] = {
CorrelationCode( j2ms::r, j2ms::r ),
CorrelationCode( j2ms::l, j2ms::l ),
CorrelationCode( j2ms::r, j2ms::l ),
CorrelationCode( j2ms::l, j2ms::r ),
CorrelationCode( j2ms::l, j2ms::l ),
CorrelationCode( j2ms::x, j2ms::x ),
CorrelationCode( j2ms::y, j2ms::y ),
CorrelationCode( j2ms::x, j2ms::y ),
CorrelationCode( j2ms::y, j2ms::x )
CorrelationCode( j2ms::y, j2ms::x ),
CorrelationCode( j2ms::y, j2ms::y )
};
static const unsigned int __N_combi( sizeof(__order)/sizeof(__order[0]) );

Loading…
Cancel
Save