Skip to content

Commit

Permalink
DPL: fix for sending configuration with spaces (AliceO2Group#5390)
Browse files Browse the repository at this point in the history
  • Loading branch information
aalkin authored and jgrosseo committed Aug 18, 2021
1 parent 85a2d88 commit 850fc91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tutorials/src/configurableObjects.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ auto printMatrix(Array2D<T> const& m)
}

static constexpr float defaultm[3][4] = {{1.1, 1.2, 1.3, 1.4}, {2.1, 2.2, 2.3, 2.4}, {3.1, 3.2, 3.3, 3.4}};
static LabeledArray<float> la{&defaultm[0][0], 3, 4, {"r1", "r2", "r3"}, {"c1", "c2", "c3", "c4"}};
static LabeledArray<float> la{&defaultm[0][0], 3, 4, {"r 1", "r 2", "r 3"}, {"c 1", "c 2", "c 3", "c 4"}};

struct ConfigurableObjectDemo {
Configurable<configurableCut> cut{"cut", {0.5, 1, true}, "generic cut"};
Expand All @@ -61,7 +61,7 @@ struct ConfigurableObjectDemo {
// note that size is fixed by this declaration - externally supplied vector needs to be the same size!
Configurable<std::vector<int>> array{"array", {0, 0, 0, 0, 0, 0, 0}, "generic array"};
Configurable<Array2D<float>> vmatrix{"matrix", {&defaultm[0][0], 3, 4}, "generic matrix"};
Configurable<LabeledArray<float>> vla{"vla", {defaultm[0], 3, 4, {"r1", "r2", "r3"}, {"c1", "c2", "c3", "c4"}}, "labeled array"};
Configurable<LabeledArray<float>> vla{"vla", {defaultm[0], 3, 4, {"r 1", "r 2", "r 3"}, {"c 1", "c 2", "c 3", "c 4"}}, "labeled array"};

void init(InitContext const&){};
void process(aod::Collision const&, aod::Tracks const& tracks)
Expand Down

0 comments on commit 850fc91

Please sign in to comment.