[Debian-med-packaging] C++ help needed with new version of phyml
Thomas Schmitt
scdbackup at gmx.net
Sat Jun 24 13:22:47 UTC 2017
Hi.
Andreas Tille wrote:
> lk.c:2264:31: error: invalid initializer
> double branch_lens[1] = len;
I guess the compiler wants {}-brackets around the scalar value
when it shall initialize a vector.
https://anonscm.debian.org/cgit/debian-med/phyml.git/tree/src/lk.c
has
phydbl len;
...
len = -1.0;
...
double branch_lens[1] = { len };
> lk.c:2263:31: error: invalid initializer
> int p_matrices[1] = b_fcus->Pij_rr_idx;
A thing named Pij_rr_idx could well be a scalar, too, and thus need
brackets.
Have a nice day :)
Thomas
More information about the Debian-med-packaging
mailing list