0%

A bug in MrBayes

a bug in MrBayes

bug in MrBayes

Segmentaion Fault on AMD 64
C语言中,32位和64位long各占4个和8个字节,因此造成一个Bug
参照: https://sourceforge.net/p/mrbayes/bugs/55/

修改如下

1
2
3
4
5
6
#long unsigned int -> unsigned int
$ sed -i 's/long unsigned int/unsigned int/g' *.h *.c
#long int -> int
$ sed -i 's/long int/int/g' *.h *.c
#long -> int
$ sed -i 's/long/int/g' *.h *.c