Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AJPfleger committed Dec 6, 2024
1 parent feac686 commit 744466b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion CI/codespell_ignore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ parm
writet
localy
lastr
digitial
exprot
pring
aline
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def block_to_json(args):
data["range"] = ps[1:]
data["type"] = "GaussClipped"
elif t in [3, 4]:
data["type"] = "Uniform" if t == 3 else "Digitial"
data["type"] = "Uniform" if t == 3 else "Digital"

pitch = ps[0]
low = ps[1]
Expand Down
4 changes: 2 additions & 2 deletions Examples/Io/Json/src/JsonDigitizationConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void to_json(nlohmann::json& j, const ActsFatras::SingleParameterSmearFunction<
// Digital
auto digital = f.target<const Digitization::Digital>();
if (digital != nullptr) {
j["type"] = "Digitial";
j["type"] = "Digital";
j["bindata"] = nlohmann::json(digital->binningData);
return;
}
Expand Down Expand Up @@ -98,7 +98,7 @@ void from_json(
Acts::BinningData bd;
from_json(j["bindata"], bd);
f = Digitization::Uniform(bd);
} else if (sType == "Digitial") {
} else if (sType == "Digital") {
Acts::BinningData bd;
from_json(j["bindata"], bd);
f = Digitization::Digital(bd);
Expand Down

0 comments on commit 744466b

Please sign in to comment.