Skip to content

Commit f701eda

Browse files
committed
Fix referencing of refit parameters
1 parent f00e68c commit f701eda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

WorkSpace/Dmitri/OI_FSP.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
num2cell(fitParameters);
9999
for paramCntr = 1:length(paramsToFit)
100100
fitParamValues(Mcntr, dsCntr, paramCntr) = ...
101-
curModel.parameters(paramsToFit(paramCntr), 2);
101+
curModel.parameters{paramsToFit(paramCntr), 2};
102102
end
103103
end % for dsCntr = 1:length(datasetSizes) ...
104104

WorkSpace/Dmitri/PI_FSP.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
num2cell(fitParameters);
9999
for paramCntr = 1:length(paramsToFit)
100100
fitParamValues(Mcntr, dsCntr, paramCntr) = ...
101-
curModel.parameters(paramsToFit(paramCntr), 2);
101+
curModel.parameters{paramsToFit(paramCntr), 2};
102102
end
103103
end % for dsCntr = 1:length(datasetSizes) ...
104104

0 commit comments

Comments
 (0)