Skip to content

Commit

Permalink
Add derived traits to BidegreeElement
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyBF committed Sep 15, 2024
1 parent ab437eb commit 15dbaaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/crates/sseq/src/coordinates/element.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ use algebra::{
MuAlgebra,
};
use fp::vector::{FpSlice, FpVector};
use serde::{Deserialize, Serialize};

use crate::coordinates::{Bidegree, BidegreeGenerator};

/// An element of a bigraded vector space. Most commonly used to index elements of spectral
/// sequences.
#[derive(Debug, Clone)]
#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
pub struct BidegreeElement {
/// Bidegree of the element
degree: Bidegree,
Expand Down

0 comments on commit 15dbaaf

Please sign in to comment.