Skip to content

Commit a62caec

Browse files
committed
remove unintended change
actually remove unintended change actually actually remove unintended change
1 parent ddc014d commit a62caec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Framework/DataHandling/src/LoadNexusLogs.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -609,9 +609,9 @@ void LoadNexusLogs::execLoader() {
609609
try {
610610
// For period data mark proton charge log value as unfiltered to enable subsequent filtering by period.
611611
if (workspace->run().hasProperty("proton_charge_by_period")) {
612-
Kernel::PropertyWithValue<int> *pChargeUnfiltered =
613-
new Kernel::PropertyWithValue<int>(workspace->run().getProtonChargeUnfilteredName(), 1);
614-
workspace->mutableRun().addProperty(pChargeUnfiltered, 1);
612+
Kernel::PropertyWithValue<bool> *pChargeUnfiltered =
613+
new Kernel::PropertyWithValue<bool>(workspace->run().getProtonChargeUnfilteredName(), true);
614+
workspace->mutableRun().addProperty(pChargeUnfiltered, true);
615615
}
616616
// Try pulling proton charge from the main proton_charge entry
617617
file.openData("proton_charge");

0 commit comments

Comments
 (0)