From 15dbaaf0483626ef391d35531ad0a7eed006a3ee Mon Sep 17 00:00:00 2001 From: Joey Beauvais-Feisthauer Date: Sun, 15 Sep 2024 15:50:50 -0400 Subject: [PATCH] Add derived traits to `BidegreeElement` --- ext/crates/sseq/src/coordinates/element.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/crates/sseq/src/coordinates/element.rs b/ext/crates/sseq/src/coordinates/element.rs index 70d87e752..48c647523 100644 --- a/ext/crates/sseq/src/coordinates/element.rs +++ b/ext/crates/sseq/src/coordinates/element.rs @@ -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,