mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Fix build without libraries
This commit is contained in:
parent
ce3d18e8c5
commit
7ea393ada8
1
.gitignore
vendored
1
.gitignore
vendored
@ -118,6 +118,7 @@ website/package-lock.json
|
||||
|
||||
# clangd cache
|
||||
/.clangd
|
||||
/.cache
|
||||
|
||||
/compile_commands.json
|
||||
|
||||
|
@ -4,25 +4,24 @@
|
||||
|
||||
#if !defined(ARCADIA_BUILD) && USE_STATS
|
||||
|
||||
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
|
||||
# include <common/types.h>
|
||||
# include <Common/PODArray.h>
|
||||
|
||||
# include <algorithm>
|
||||
# include <iostream>
|
||||
# include <vector>
|
||||
|
||||
|
||||
namespace DB
|
||||
{
|
||||
|
||||
typedef struct _Variant
|
||||
struct Variant
|
||||
{
|
||||
Float64 x;
|
||||
Float64 y;
|
||||
Float64 beats_control;
|
||||
Float64 best;
|
||||
} Variant;
|
||||
};
|
||||
|
||||
using Variants = PODArray<Variant>;
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <Functions/abtesting.h>
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
|
||||
#if !defined(ARCADIA_BUILD) && USE_STATS
|
||||
|
||||
# include <gtest/gtest.h>
|
||||
|
||||
using namespace DB;
|
||||
|
||||
@ -97,3 +97,4 @@ TEST(BayesAB, gamma)
|
||||
ASSERT_EQ(0, max);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user