Skip to content

Commit

Permalink
Fix get_hint_field fixed (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerTaule authored Nov 7, 2024
1 parent f068cec commit ace0d6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pil2-stark/src/starkpil/hints.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ HintFieldInfo printByName(SetupCtx& setupCtx, StepsParams& params, string name,
hintFieldInfo.values = new Goldilocks::Element[hintFieldInfo.size];
hintFieldInfo.fieldType = HintFieldType::Column;
hintFieldInfo.offset = 1;
getPolynomial(setupCtx, params.pols, hintFieldInfo.values, false, i, false);
getPolynomial(setupCtx, params.pConstPolsAddress, hintFieldInfo.values, false, i, false);
}
return hintFieldInfo;
}
Expand Down Expand Up @@ -341,7 +341,7 @@ HintFieldValues getHintField(
cout << "]";
}
cout << endl;
getPolynomial(setupCtx, params.pols, hintFieldInfo.values, false, hintFieldVal.id, false);
getPolynomial(setupCtx, params.pConstPolsAddress, hintFieldInfo.values, false, hintFieldVal.id, false);
if(hintOptions.inverse) {
zklog.error("Inverse not supported still for polynomials");
exitProcess();
Expand Down

0 comments on commit ace0d6b

Please sign in to comment.