Skip to content

Commit

Permalink
aw-query: Fix broken period_union
Browse files Browse the repository at this point in the history
  • Loading branch information
johan-bjareholt committed Jun 5, 2021
1 parent e5d0d73 commit 1f49e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aw-query/src/functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ mod qfunctions {
let events1: Vec<Event> = (&args[0]).try_into()?;
let events2: Vec<Event> = (&args[1]).try_into()?;

let mut result = aw_transform::filter_period_intersect(&events1, &events2);
let mut result = aw_transform::period_union(&events1, &events2);
let mut result_tagged = Vec::new();
for event in result.drain(..) {
result_tagged.push(DataType::Event(event));
Expand Down

0 comments on commit 1f49e83

Please sign in to comment.