Skip to content
Snippets Groups Projects
Commit b7253ffe authored by Felix Weiglhofer's avatar Felix Weiglhofer
Browse files

Fix compilation on Mac OS.

parent 7e3e6adf
No related branches found
No related tags found
1 merge request!1161algo: Update STS GPU Reco
Pipeline #22472 passed
...@@ -18,7 +18,7 @@ namespace cbm::algo ...@@ -18,7 +18,7 @@ namespace cbm::algo
void Begin(size_t align) void Begin(size_t align)
{ {
fAlign = align; fAlign = align;
fSS = {}; fSS = std::stringstream();
} }
void Title(std::string_view title) { fSS << fmt::format("{:<{}}\n", title, fAlign); } void Title(std::string_view title) { fSS << fmt::format("{:<{}}\n", title, fAlign); }
......
...@@ -15,7 +15,7 @@ sts::LandauTable sts::LandauTable::FromFile(fs::path path) ...@@ -15,7 +15,7 @@ sts::LandauTable sts::LandauTable::FromFile(fs::path path)
std::vector<f32> charge; std::vector<f32> charge;
std::vector<f32> prob; std::vector<f32> prob;
std::ifstream file(path); std::ifstream file(path.string());
while (!file.eof()) { while (!file.eof()) {
......
...@@ -26,7 +26,7 @@ void Reco::Init(const Options& opts) ...@@ -26,7 +26,7 @@ void Reco::Init(const Options& opts)
LOG(info) << "Running CBM Reco on Device " << props.name(); LOG(info) << "Running CBM Reco on Device " << props.name();
// Reco Params // Reco Params
fs::path recoParamsPath = opts.ParamsDir() / "Reco.yaml"; fs::path recoParamsPath = opts.ParamsDir() / "RecoParams.yaml";
YAML::Node yaml = YAML::LoadFile(recoParamsPath.string()); YAML::Node yaml = YAML::LoadFile(recoParamsPath.string());
fContext.recoParams = config::Read<RecoParams>(yaml); fContext.recoParams = config::Read<RecoParams>(yaml);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment