Skip to content

Commit cbe4b8c

Browse files
authored
[CHORE] fix clippy (#51)
1 parent e600467 commit cbe4b8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1902,9 +1902,9 @@ impl QPpolyTrajPlanner {
19021902
fn prepare_qp_problem(
19031903
&self,
19041904
) -> (
1905-
CscMatrix,
1905+
CscMatrix<'_>,
19061906
DVector<f64>,
1907-
CscMatrix,
1907+
CscMatrix<'_>,
19081908
DVector<f64>,
19091909
DVector<f64>,
19101910
) {
@@ -2006,7 +2006,7 @@ impl QPpolyTrajPlanner {
20062006
/// * `a` - The dense matrix to be converted.
20072007
/// # Returns
20082008
/// * The sparse matrix in CSC format.
2009-
fn convert_dense_to_sparse(&self, a: &DMatrix<f64>) -> CscMatrix {
2009+
fn convert_dense_to_sparse(&self, a: &DMatrix<f64>) -> CscMatrix<'_> {
20102010
let (rows, cols) = a.shape();
20112011

20122012
let column_major_iter: Vec<f64> = a

0 commit comments

Comments
 (0)