Skip to content

Commit

Permalink
fix coerce and set errors
Browse files Browse the repository at this point in the history
  • Loading branch information
danking committed Dec 12, 2024
1 parent b9fd430 commit 78f2d03
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion encodings/alp/src/alp/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ impl ALPArray {
let length = encoded.len();

let mut children = Vec::with_capacity(2);
children.push(encoded);
if let Some(patches) = &patches {
children.push(patches.indices().clone());
children.push(patches.values().clone());
Expand Down
4 changes: 3 additions & 1 deletion scripts/coerce-criterion-json.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash

commit_id=$(git rev-parse HEAD)
set -Eeu -o pipefail -x

commit_id=$GITHUB_SHA

jq --compact-output 'select(.reason == "benchmark-complete" or .reason == null)
| if (.throughput | length) == 0
Expand Down
2 changes: 2 additions & 0 deletions scripts/commit-json.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -Eeu -o pipefail -x

commit_id=$GITHUB_SHA
commit_title=$(git log -1 --pretty=%B $GITHUB_SHA | head -n 1)
commit_timestamp=$(git log -1 --format=%cd --date=iso-strict $GITHUB_SHA)
Expand Down

0 comments on commit 78f2d03

Please sign in to comment.