Open yingzhang121 opened 7 years ago
Thanks for the heads up. I pushed a fix. Let me know how it goes.
When I try to make it shows this message on MacOS:
/usr/local/clang6/bin/clang -O3 -fopenmp -I/opt/local/include/-I -c Read.cpp
In file included from Read.cpp:1:
./Read.h:98:22: error: in-class initializer for static data member of type
'const float' requires 'constexpr' specifier [-Wstatic-float-init]
const static float trust_spread_t = .1;
^ ~~
./Read.h:98:3: note: add 'constexpr'
const static float trust_spread_t = .1;
^
constexpr
./Read.h:99:22: error: in-class initializer for static data member of type
'const float' requires 'constexpr' specifier [-Wstatic-float-init]
const static float correct_min_t = .000001;
^ ~~~
./Read.h:99:3: note: add 'constexpr'
const static float correct_min_t = .000001;
^
constexpr
./Read.h:100:22: error: in-class initializer for static data member of type
'const float' requires 'constexpr' specifier [-Wstatic-float-init]
const static float learning_min_t = .00001;
^ ~~
./Read.h:100:3: note: add 'constexpr'
const static float learning_min_t = .00001;
^
constexpr
3 errors generated.
make: *** [Read.o] Error 1
Any suggestions?
Hi, David,
In the latest release of VGAM, the syntax for function dzeta changes from "dzeta(x, p, log = FALSE) (VGAM 0.8-7)" to "dzeta(x, shape, log = FALSE) (VGAM 1.0-3)".
So cov_model.r couldn't be run.
Best, Ying