mirror of https://github.com/zcash/halo2.git
Compare commits
4 Commits
9e7a84d3f6
...
9a76b58751
Author | SHA1 | Date |
---|---|---|
enrico.eth | 9a76b58751 | |
Daira-Emma Hopwood | 7df93fd855 | |
adria0 | daaa638966 | |
Enrico Bottazzi | b253c27cb9 |
|
@ -12,7 +12,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: '1.76.0'
|
||||||
override: true
|
override: true
|
||||||
|
|
||||||
# - name: Setup mdBook
|
# - name: Setup mdBook
|
||||||
|
@ -26,7 +26,7 @@ jobs:
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: install
|
command: install
|
||||||
args: mdbook --git https://github.com/HollowMan6/mdBook.git --rev 62e01b34c23b957579c04ee1b24b57814ed8a4d5
|
args: mdbook --git https://github.com/HollowMan6/mdBook.git --rev 5830c9555a4dc051675d17f1fcb04dd0920543e8
|
||||||
|
|
||||||
- name: Install mdbook-katex and mdbook-pdf
|
- name: Install mdbook-katex and mdbook-pdf
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
@ -40,6 +40,11 @@ jobs:
|
||||||
- name: Build halo2 book
|
- name: Build halo2 book
|
||||||
run: mdbook build book/
|
run: mdbook build book/
|
||||||
|
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: nightly-2023-10-05
|
||||||
|
override: true
|
||||||
|
|
||||||
- name: Build latest rustdocs
|
- name: Build latest rustdocs
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -14,8 +14,6 @@ title = "The halo2 Book"
|
||||||
macros = "macros.txt"
|
macros = "macros.txt"
|
||||||
renderers = ["html"]
|
renderers = ["html"]
|
||||||
|
|
||||||
[output.katex]
|
|
||||||
|
|
||||||
[output.html]
|
[output.html]
|
||||||
|
|
||||||
[output.html.print]
|
[output.html.print]
|
||||||
|
|
|
@ -194,11 +194,10 @@ impl<F: PrimeFieldBits, const WINDOW_NUM_BITS: usize> RunningSumConfig<F, WINDOW
|
||||||
z = z_next;
|
z = z_next;
|
||||||
zs.push(z.clone());
|
zs.push(z.clone());
|
||||||
}
|
}
|
||||||
assert_eq!(zs.len(), num_windows + 1);
|
|
||||||
|
|
||||||
if strict {
|
if strict {
|
||||||
// Constrain the final running sum output to be zero.
|
// Constrain the final running sum output to be zero.
|
||||||
region.constrain_constant(zs.last().unwrap().cell(), F::ZERO)?;
|
region.constrain_constant(zs[num_windows].cell(), F::ZERO)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(RunningSum(zs))
|
Ok(RunningSum(zs))
|
||||||
|
|
Loading…
Reference in New Issue