Fixed test by transposing matrix
This commit is contained in:
@@ -570,15 +570,15 @@ mod tests_prob {
|
|||||||
assert_eq!(
|
assert_eq!(
|
||||||
results,
|
results,
|
||||||
DenseMatrix::<f64>::from_array(
|
DenseMatrix::<f64>::from_array(
|
||||||
20,
|
|
||||||
2,
|
2,
|
||||||
|
20,
|
||||||
&[
|
&[
|
||||||
1.0, 0.78, 0.95, 0.82, 1.0, 0.92, 0.99, 0.96, 0.36, 0.33, 0.02, 0.02, 0.0, 0.0,
|
1.0, 0.78, 0.95, 0.82, 1.0, 0.92, 0.99, 0.96, 0.36, 0.33, 0.02, 0.02, 0.0, 0.0,
|
||||||
0.0, 0.0, 0.03, 0.05, 0.0, 0.02, 0.0, 0.22, 0.05, 0.18, 0.0, 0.08, 0.01, 0.04,
|
0.0, 0.0, 0.03, 0.05, 0.0, 0.02, 0.0, 0.22, 0.05, 0.18, 0.0, 0.08, 0.01, 0.04,
|
||||||
0.64, 0.67, 0.98, 0.98, 1.0, 1.0, 1.0, 1.0, 0.97, 0.95, 1.0, 0.98
|
0.64, 0.67, 0.98, 0.98, 1.0, 1.0, 1.0, 1.0, 0.97, 0.95, 1.0, 0.98
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
.transpose()
|
||||||
);
|
);
|
||||||
assert!(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user