Skip to content

Commit 4242843

Browse files
committed
Addresses review comment
1 parent 8a786d8 commit 4242843

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

cpp/rat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ RAT::Controls createControlsStruct(const Control& control)
332332
control_struct.resampleNPoints = control.resampleNPoints;
333333
stringToRatBoundedArray(control.boundHandling, control_struct.boundHandling.data, control_struct.boundHandling.size);
334334
control_struct.adaptPCR = control.adaptPCR;
335-
control_struct.calcSLD = control.calcSLD;
335+
control_struct.calcSLD = false;
336336
stringToRatBoundedArray(control.IPCFilePath, control_struct.IPCFilePath.data, control_struct.IPCFilePath.size);
337337

338338
return control_struct;

ratapi/inputs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ def make_controls(input_controls: ratapi.Controls) -> Control:
583583
controls.boundHandling = input_controls.boundHandling
584584
controls.adaptPCR = input_controls.adaptPCR
585585

586-
controls.calcSLD = False
587586
controls.IPCFilePath = input_controls._IPCFilePath
588587

589588
return controls

0 commit comments

Comments
 (0)