#ifndef _SCALAR_FW_FWEXITCODES_H_
#define _SCALAR_FW_FWEXITCODES_H_

//! exit code for FW algorithm
enum Exitcode_t
{
   exit_not_run = 0,
   exit_max_iters = 1,
   exit_early = 2,
   exit_zero_gradient = 3,
   exit_term_check = 4,
   exit_primal_gap = 5
};
typedef enum Exitcode_t exitcode_t;

#endif // _SCALAR_FW_FWEXITCODES_H_
