Skip to content

Commit

Permalink
add const
Browse files Browse the repository at this point in the history
  • Loading branch information
bcdonovan committed May 23, 2024
1 parent 70d3775 commit 65988b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dialect/QCS/Utils/ParameterInitialValueAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ ParameterInitialValueAnalysis::ParameterInitialValueAnalysis(
if (!parameterLoadOp)
continue;

double initialValue =
const double initialValue =
std::get<double>(parameterLoadOp.getInitialValue());
initialValues_[parameterLoadOp.getParameterName()] = initialValue;
foundParameters = true;
Expand Down

0 comments on commit 65988b7

Please sign in to comment.