File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -240,21 +240,21 @@ jobs:
240
240
# install APPLgrid
241
241
curl -L "https://applgrid.hepforge.org/downloads?f=applgrid-${APPLGRID_V}.tgz" | tar xzf -
242
242
cd applgrid-${APPLGRID_V}
243
- patch -p0 <<EOF
243
+ patch -l - p0 <<EOF
244
244
--- src/combine.cxx 2024-04-23 16:35:27.000000000 +0200
245
245
+++ src/combine.cxx.new 2024-07-06 12:29:12.813303074 +0200
246
246
@@ -56,12 +56,6 @@
247
- }
248
-
249
-
250
- -double integral( appl::TH1D* h ) {
247
+ }
248
+
249
+
250
+ -double integral( appl::TH1D* h ) {
251
251
- double d = 0;
252
252
- for ( int i=0 ; i<h->GetNbinsX() ; i++ ) d += h->GetBinContent(i+1);
253
253
- return d;
254
254
-}
255
255
-
256
-
257
- void print( appl::TH1D* h ) {
256
+
257
+ void print( appl::TH1D* h ) {
258
258
for ( int i=1 ; i<=h->GetNbinsX() ; i++ ) std::cout << h->GetBinContent(i) << " ";
259
259
EOF
260
260
# compile static libraries with PIC to make statically linking PineAPPL's CLI work
Original file line number Diff line number Diff line change 6
6
hooks :
7
7
- id : trailing-whitespace
8
8
# `.rs` files are taken care of by `cargo fmt`
9
- # `.github/workflows/release.yml` contains vital spaces
10
- exclude : ^(.*\.rs|\.github/workflows/release.yml)$
9
+ exclude : ^.*\.rs$
11
10
- id : end-of-file-fixer
12
11
- id : check-merge-conflict
13
12
- repo : https://github.com/astral-sh/ruff-pre-commit
You can’t perform that action at this time.
0 commit comments