Skip to content

Commit

Permalink
Fixed the compilation again.
Browse files Browse the repository at this point in the history
  • Loading branch information
joka921 committed Sep 29, 2021
1 parent e9ce6b7 commit 1ec37f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/index/Index.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

#include <array>
#include <fstream>
#include <google/sparse_hash_set>
#include <memory>
#include <nlohmann/json.hpp>
#include <optional>
Expand Down
1 change: 0 additions & 1 deletion src/index/IndexMetaData.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <array>
#include <cmath>
#include <exception>
#include <google/sparse_hash_map>
#include <limits>
#include <utility>
#include <vector>
Expand Down
6 changes: 3 additions & 3 deletions src/parser/NaryExpression.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ using ConditionalOrExpression = detail::MultiBinaryExpression<

/// Boolean and, the name "ConditionalAndExpression" comes from the Sparql 1.1 grammar.
inline auto andLambda = [](bool a, bool b) { return a && b; };
using ConditionalAndExpression = detail::DispatchedBinaryExpression<
using ConditionalAndExpression = detail::MultiBinaryExpression<
ad_utility::Intersection, detail::EffectiveBooleanValueGetter,
TaggedFunction<"&&", decltype(andLambda)>>;

Expand All @@ -184,7 +184,7 @@ inline auto divide = [](const auto& a, const auto& b) -> double {
return static_cast<double>(a) / b;
};
using MultiplicativeExpression =
detail::DispatchedBinaryExpression<detail::NoCalculationWithSetOfIntervals,
detail::MultiBinaryExpression<detail::NoCalculationWithSetOfIntervals,
detail::NumericValueGetter,
TaggedFunction<"*", decltype(multiply)>,
TaggedFunction<"/", decltype(divide)>>;
Expand All @@ -195,7 +195,7 @@ inline auto subtract = [](const auto& a, const auto& b) -> double {
return a - b;
};
using AdditiveExpression =
detail::DispatchedBinaryExpression<detail::NoCalculationWithSetOfIntervals,
detail::MultiBinaryExpression<detail::NoCalculationWithSetOfIntervals,
detail::NumericValueGetter,
TaggedFunction<"+", decltype(add)>,
TaggedFunction<"-", decltype(subtract)>>;
Expand Down

0 comments on commit 1ec37f5

Please sign in to comment.