RsBundle  Diff

Differences From Artifact [f9a46c81d7]:

  • File src/mpi/problem.rs — part of check-in [80cb1b136f] at 2023-05-08 15:27:16 on branch memcheck — Show memory usage of subproblems (user: fifr size: 11745)

To Artifact [0006d6e9f7]:

  • File src/mpi/problem.rs — part of check-in [4bc6dc649e] at 2023-07-04 19:46:20 on branch memcheck — Merge mpi-cvx (user: fifr size: 11783) [more...]

36
37
38
39
40
41
42

43
44
45
46
47
48
49
use serde::de::DeserializeOwned;
use std::collections::VecDeque;
use std::sync::Arc;
use std::time::Instant;

/// Error raised by the MPI [`Problem`].
#[derive(Debug, Error, Serialize, Deserialize)]

pub enum Error<E> {
    /// MPI error.
    #[error("MPI error")]
    MPI,
    /// Original oracle error.
    #[error("Error by underlying oracle")]
    OracleError(#[source] E),







>







36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
use serde::de::DeserializeOwned;
use std::collections::VecDeque;
use std::sync::Arc;
use std::time::Instant;

/// Error raised by the MPI [`Problem`].
#[derive(Debug, Error, Serialize, Deserialize)]
#[allow(clippy::upper_case_acronyms)]
pub enum Error<E> {
    /// MPI error.
    #[error("MPI error")]
    MPI,
    /// Original oracle error.
    #[error("Error by underlying oracle")]
    OracleError(#[source] E),