We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fcbc7b commit 0d4e515Copy full SHA for 0d4e515
src/libs/matrix.rs
@@ -2,7 +2,7 @@
2
use std::collections::HashMap;
3
use std::io::BufRead;
4
5
-#[derive(Debug)]
+#[derive(Debug, Clone)]
6
pub struct ScoringMatrix<T> {
7
size: Option<usize>,
8
same: Option<T>,
@@ -200,7 +200,7 @@ impl ScoringMatrix<f32> {
200
/// assert_eq!(matrix.get(0, 1), 0.5);
201
/// assert_eq!(matrix.get(1, 0), 0.5); // Symmetric matrix
202
/// ```
203
204
pub struct NamedMatrix {
205
size: usize,
206
names: indexmap::IndexMap<String, usize>,
0 commit comments