From 50638c21c8a8cfcb712b4bac57a58c9d6a838294 Mon Sep 17 00:00:00 2001 From: Aras Ergus Date: Sat, 1 Jul 2023 12:03:17 +0200 Subject: [PATCH] Use `number_of_gens_in_bidegree` Co-authored-by: Joey Beauvais-Feisthauer <57161378+JoeyBF@users.noreply.github.com> --- ext/examples/mahowald_invariant.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/examples/mahowald_invariant.rs b/ext/examples/mahowald_invariant.rs index 7d41c12f8..5980b8a50 100644 --- a/ext/examples/mahowald_invariant.rs +++ b/ext/examples/mahowald_invariant.rs @@ -124,10 +124,10 @@ fn main() -> Result<()> { .filter(|&(s, _, t)| p_k_resolution.has_computed_bidegree(s, t - 1)) { let t_bottom = t + k as i32 - 1; - let bottom_s_2_gens = s_2_resolution.module(s).number_of_gens_in_degree(t_bottom); - let minus_one_s_2_gens = s_2_resolution.module(s).number_of_gens_in_degree(t); + let bottom_s_2_gens = s_2_resolution.number_of_gens_in_bidegree(s, t_bottom); + let minus_one_s_2_gens = s_2_resolution.number_of_gens_in_bidegree(s, t); let t_p_k = t - 1; - let p_k_gens = p_k_resolution.module(s).number_of_gens_in_degree(t_p_k); + let p_k_gens = p_k_resolution.number_of_gens_in_bidegree(s, t_p_k); if bottom_s_2_gens > 0 && minus_one_s_2_gens > 0 && p_k_gens > 0 { let bottom_cell_map = bottom_cell.get_map(s); let mut matrix = vec![vec![0; p_k_gens]; bottom_s_2_gens];