Skip to content
Snippets Groups Projects
Commit ffe7c9e2 authored by Jesper Andersson's avatar Jesper Andersson
Browse files

removed some fluff that made the NVidia compiler complain

parent 9e4634ad
No related branches found
No related tags found
No related merge requests found
......@@ -156,16 +156,16 @@ public:
// Routines to get output
double Lambda() const {return(lambda.back());}
double InitialLambda() const {if (loglambda) return(lambda[0]); else {throw NonlinException("InitialLabda: Lambda not logged"); return(0.0);}}
const std::vector<double>& LambdaHistory() const {if (loglambda) return(lambda); else {throw NonlinException("InitialLabda: Lambda not logged"); return(lambda);}}
double InitialLambda() const {if (loglambda) return(lambda[0]); else throw NonlinException("InitialLabda: Lambda not logged"); }
const std::vector<double>& LambdaHistory() const {if (loglambda) return(lambda); else throw NonlinException("InitialLabda: Lambda not logged"); }
const NEWMAT::ColumnVector& Par() const {return(par.back());}
const NEWMAT::ColumnVector& InitialPar() const {if (logpar) return(par[0]); else {throw NonlinException("InitialPar: Parameters not logged"); return(par[0]);}}
const std::vector<NEWMAT::ColumnVector>& ParHistory() const {if (logpar) return(par); else {throw NonlinException("ParHistory: Parameters not logged"); return(par);}}
const NEWMAT::ColumnVector& InitialPar() const {if (logpar) return(par[0]); else throw NonlinException("InitialPar: Parameters not logged"); }
const std::vector<NEWMAT::ColumnVector>& ParHistory() const {if (logpar) return(par); else throw NonlinException("ParHistory: Parameters not logged"); }
double CF() const {return(cf.back());}
double InitialCF() const {if (logcf) return(cf[0]); else {throw NonlinException("InitialCF: Cost-function not logged"); return(cf[0]);}}
const std::vector<double> CFHistory() const {if (logcf) return(cf); else {throw NonlinException("CFHistory: Cost-function not logged"); return(cf);}}
double InitialCF() const {if (logcf) return(cf[0]); else throw NonlinException("InitialCF: Cost-function not logged"); }
const std::vector<double> CFHistory() const {if (logcf) return(cf); else throw NonlinException("CFHistory: Cost-function not logged"); }
NonlinOut Status() const {return(status);}
bool Success() const { switch(status) { case NL_UNDEFINED: case NL_MAXITER: case NL_LM_MAXITER: return(false); break; default: return(true); } };
bool Success() const { switch(status) { case NL_UNDEFINED: case NL_MAXITER: case NL_LM_MAXITER: return(false); default: return(true); } };
std::string TextStatus() const;
// Routines to set values of steering parameters
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment