Develop #14
@ -10,8 +10,6 @@
|
|||||||
* @bug No known bugs
|
* @bug No known bugs
|
||||||
* */
|
* */
|
||||||
|
|
||||||
#include <sys/stat.h>
|
|
||||||
|
|
||||||
#include "utils.hpp"
|
#include "utils.hpp"
|
||||||
|
|
||||||
std::string scientific_format(double d, int width, int prec)
|
std::string scientific_format(double d, int width, int prec)
|
||||||
@ -59,7 +57,7 @@ void m_assert(bool expr, std::string expr_str, std::string f, std::string file,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool arma_vector_close_to(arma::vec &a, arma::vec &b, double tol)
|
bool close_to(arma::vec &a, arma::vec &b, double tol)
|
||||||
{
|
{
|
||||||
if (a.n_elem != b.n_elem) {
|
if (a.n_elem != b.n_elem) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user