Skip to content

Commit

Permalink
Fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
t7phy committed Jul 24, 2024
1 parent 5e281ae commit 02e48e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pineappl_cli/src/export.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ impl Subcommand for Opts {
},
keep,
)| {
(keep && (logxir == 0) && (logxif == 0)).then_some((alphas, alpha))
(keep && (logxir == 0) && (logxif == 0) && (logxia == 0))
.then_some((alphas, alpha))
},
)
.collect();
Expand Down
4 changes: 2 additions & 2 deletions pineappl_cli/src/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@ impl Subcommand for Opts {
logxia,
} = order;

let order_string = [alphas, alpha, logxir, logxif]
let order_string = [alphas, alpha, logxir, logxif, logxia]
.iter()
.zip(["as^", "a^", "lr^", "lf^"].iter())
.zip(["as^", "a^", "lr^", "lf^", "la^"].iter())
.filter_map(|(num, string)| {
if **num == 0 && self.group.orders {
None
Expand Down

0 comments on commit 02e48e9

Please sign in to comment.