Skip to content

Commit

Permalink
fix Debian CRAN check warning
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Thorson committed Jul 19, 2024
1 parent b223e59 commit d67c9cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Type objective_function<Type>::operator() ()
inverseIminusRho_kk.compute(IminusRho_kk);

// Rescale I-Rho and Gamma if using constant marginal variance options
if( (options(1)==1) | (options(1)==2) ){
if( (options(1)==1) || (options(1)==2) ){
Eigen::SparseMatrix<Type> invIminusRho_kk;

// WORKS: Based on: https://github.com/kaskr/adcomp/issues/74
Expand Down

0 comments on commit d67c9cc

Please sign in to comment.