Skip to content

Commit

Permalink
[Important][sparse] Add Send trait to LinSol and ComplexLinSol traits
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmech committed May 23, 2024
1 parent 8011671 commit 498b7e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion russell_sparse/src/complex_lin_solver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use crate::{ComplexSolverKLU, ComplexSolverUMFPACK};
use russell_lab::ComplexVector;

/// Defines a unified interface for complex linear system solvers
pub trait ComplexLinSolTrait {
pub trait ComplexLinSolTrait: Send {
/// Performs the factorization (and analysis/initialization if needed)
///
/// # Input
Expand Down
2 changes: 1 addition & 1 deletion russell_sparse/src/lin_solver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use crate::StrError;
use russell_lab::Vector;

/// Defines a unified interface for linear system solvers
pub trait LinSolTrait {
pub trait LinSolTrait: Send {
/// Performs the factorization (and analysis/initialization if needed)
///
/// # Input
Expand Down

0 comments on commit 498b7e0

Please sign in to comment.