Skip to content

Commit

Permalink
fix:Correct dimensions.
Browse files Browse the repository at this point in the history
  • Loading branch information
antononcube committed Mar 10, 2023
1 parent addc3e5 commit c85a01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QuantileRegression.m
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ I experimented with using DualLinearProgramming (provided by Mathematica) and wi
cpts = cpts0;
cpts = ReplacePart[cpts, #1 -> {1}];
With[{f = BSplineFunction[cpts, Sequence @@ FilterRules[{opts}, Options[BSplineFunction]]]},
Evaluate[f @@ Table[ Rescale[Slot[i], lsMinMaxes[[i]]], {i, Length@lsMinMaxes}] ]&])&,
Evaluate[f @@ Table[ Rescale[Slot[i], lsMinMaxes[[i]]], {i, Length[lsMinMaxes] - 1}] ]&])&,
inds
];

Expand Down

0 comments on commit c85a01d

Please sign in to comment.