Skip to content

Commit

Permalink
undef SSE_ENABLED by default
Browse files Browse the repository at this point in the history
as the IDE (XCode) complains about it and the code fails to compile
  • Loading branch information
zhangchicool committed Sep 12, 2024
1 parent e7b8431 commit 6c98e19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/bayes.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
# define VERSION_NUMBER PACKAGE_VERSION
#elif !defined (XCODE_VERSION) /* some defaults that would otherwise be guessed by configure */
#else /* some defaults that would otherwise be guessed by configure */
# define PACKAGE_NAME "MrBayes"
# define PACKAGE_VERSION "3.2.8"
# define HOST_CPU "x86_64"
# define VERSION_NUMBER PACKAGE_VERSION
# undef HAVE_LIBREADLINE
# define UNIX_VERSION 1
# define SSE_ENABLED 1
# undef SSE_ENABLED
# undef AVX_ENABLED
# undef FMA_ENABLED
# undef MPI_ENABLED
Expand Down
2 changes: 1 addition & 1 deletion src/model.c
Original file line number Diff line number Diff line change
Expand Up @@ -1983,7 +1983,7 @@ int CheckModel (void)
else if (modelParams[t->relParts[0]].treeAgePr.prior == offsetExponential ||
modelParams[t->relParts[0]].treeAgePr.prior == offsetGamma ||
modelParams[t->relParts[0]].treeAgePr.prior == truncatedNormal ||
modelParams[t->relParts[0]].treeAgePr.prior == offsetLogNormal)
modelParams[t->relParts[0]].treeAgePr.prior == offsetLogNormal)
{
if (treeAge < modelParams[t->relParts[0]].treeAgePr.priorParams[0])
{
Expand Down

0 comments on commit 6c98e19

Please sign in to comment.