Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
FRI - Fast Reed-solomon Interactive oracle proof of proximity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dragoon
FRI - Fast Reed-solomon Interactive oracle proof of proximity
Commits
50381bd4
Commit
50381bd4
authored
2 months ago
by
Bretagne Antonin
Browse files
Options
Downloads
Patches
Plain Diff
Fix: panic in to_polynomials
parent
785b06ab
Loading
Loading
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/utils.rs
+5
-1
5 additions, 1 deletion
src/utils.rs
with
5 additions
and
1 deletion
src/utils.rs
+
5
−
1
View file @
50381bd4
...
...
@@ -230,7 +230,11 @@ pub fn to_polynomial<F: FftField>(mut evaluations: Vec<F>, degree_bound: usize)
domain
.ifft_in_place
(
&
mut
evaluations
);
debug_assert!
(
evaluations
[
degree_bound
..
]
.iter
()
.all
(|
c
|
*
c
==
F
::
ZERO
),
evaluations
.get
(
degree_bound
..
)
.unwrap_or_default
()
.iter
()
.all
(|
c
|
*
c
==
F
::
ZERO
),
"Degree of polynomial is not bound by {degree_bound}"
);
...
...
This diff is collapsed.
Click to expand it.
STEVAN Antoine
@a.stevan
mentioned in issue
komodo#21 (closed)
·
2 months ago
mentioned in issue
komodo#21 (closed)
mentioned in issue komodo#21
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment