From 5b598939033646a7a95a490df689503f92703be8 Mon Sep 17 00:00:00 2001 From: 3for Date: Wed, 16 Dec 2020 04:34:51 +0800 Subject: [PATCH] annotation typo (#29) --- src/unipoly.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/unipoly.rs b/src/unipoly.rs index 0a0549f..c4c7c46 100644 --- a/src/unipoly.rs +++ b/src/unipoly.rs @@ -5,15 +5,15 @@ use super::transcript::{AppendToTranscript, ProofTranscript}; use merlin::Transcript; use serde::{Deserialize, Serialize}; -// ax^2 + bx + c stored as vec![a,b,c] -// ax^3 + bx^2 + cx + d stored as vec![a,b,c,d] +// ax^2 + bx + c stored as vec![c,b,a] +// ax^3 + bx^2 + cx + d stored as vec![d,c,b,a] #[derive(Debug)] pub struct UniPoly { coeffs: Vec, } -// ax^2 + bx + c stored as vec![a,c] -// ax^3 + bx^2 + cx + d stored as vec![a,c,d] +// ax^2 + bx + c stored as vec![c,a] +// ax^3 + bx^2 + cx + d stored as vec![d,b,a] #[derive(Serialize, Deserialize, Debug)] pub struct CompressedUniPoly { coeffs_except_linear_term: Vec,