Skip to content

Commit

Permalink
Fix unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Apr 26, 2024
1 parent faf8fac commit 1b17747
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/src/MeanMeasure.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ class MeanMeasureParametricFunctionWrapper : public FunctionImplementation
const UnsignedInteger size = theta.getSize();
const UnsignedInteger outputDimension = function_.getOutputDimension();
Sample outS(size, outputDimension);
const Point pdfS(distribution_.computePDF(theta).asPoint());
for (UnsignedInteger i = 0; i < size; ++i)
if (pdfs[i] > pdfThreshold_) significant.add(i);
// Early exit to avoid the copy of function_
Expand Down
2 changes: 0 additions & 2 deletions lib/test/t_InverseFORM_std.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ int main()
{
// sphere under pressure
UnsignedInteger dim = 3;

SymbolicFunction function(Description({"R", "e", "mulog_e", "p"}), Description({"700.0-p*R/(2.*e)"}));
Indices set = {2};

const Scalar L0 = -4.715;
ParametricFunction parametric(function, Indices({2}), Point({L0}));
Expand Down

0 comments on commit 1b17747

Please sign in to comment.