Skip to content

Commit 5be42f0

Browse files
authored
Implement Clone and Debug for TwoSat (#158)
1 parent eea0b2a commit 5be42f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/twosat.rs

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ use crate::internal_scc;
4848
/// assert!(twosat.satisfiable());
4949
/// assert_eq!(twosat.answer(), [false, true, true]);
5050
/// ```
51+
#[derive(Clone, Debug)]
5152
pub struct TwoSat {
5253
n: usize,
5354
scc: internal_scc::SccGraph,

0 commit comments

Comments
 (0)