From a6aa5314fc618f5a364fbe8a91703531973032b9 Mon Sep 17 00:00:00 2001 From: Christopher Schwan Date: Fri, 3 Nov 2023 15:50:56 +0100 Subject: [PATCH] Set `subgrid_type` in C++ example --- examples/cpp/fill-grid.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/cpp/fill-grid.cpp b/examples/cpp/fill-grid.cpp index 00bee5d4..7df82983 100644 --- a/examples/cpp/fill-grid.cpp +++ b/examples/cpp/fill-grid.cpp @@ -196,6 +196,9 @@ int main() { pineappl_keyval_set_double(keyval, "x2_max", 1.0); pineappl_keyval_set_double(keyval, "x2_min", 2e-7); pineappl_keyval_set_int(keyval, "x2_order", 3); + + // determine the subgrid which are being filled + pineappl_keyval_set_string(keyval, "subgrid_type", "LagrangeSubgrid"); #endif auto* grid = pineappl_grid_new(channels, 1, orders, 24, bins, keyval);