File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ using namespace cpp11;
121121
122122 Mat<double > res_row_normalized = res.each_col () / row_sums;
123123 Mat<double > res_col_normalized = res.each_row () / col_sums;
124-
124+
125125 // Compute eigenvalues for xci
126126 Col<cx_double> eigval_xci;
127127 Mat<cx_double> eigvec_xci;
@@ -187,7 +187,7 @@ using namespace cpp11;
187187 writable::list dimnames = as_cpp<list>(balassa_index.attr (" dimnames" ));
188188 writable::list res2;
189189
190- if ((compute == " country" ) | (compute == " both" )) {
190+ if ((compute == " country" ) || (compute == " both" )) {
191191 prox_x = res * res.t ();
192192 uword n = prox_x.n_rows ;
193193 uword m = prox_x.n_cols ;
@@ -201,7 +201,7 @@ using namespace cpp11;
201201 res2.push_back ({" proximity_country" _nm = prox_x_r});
202202 }
203203
204- if ((compute == " product" ) | (compute == " both" )) {
204+ if ((compute == " product" ) || (compute == " both" )) {
205205 prox_y = res.t () * res;
206206 uword n = prox_y.n_rows ;
207207 uword m = prox_y.n_cols ;
You can’t perform that action at this time.
0 commit comments