Skip to content

Commit

Permalink
Fail loudly when Heatmap is used with a computed mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Feb 13, 2023
1 parent ce550b4 commit 218a693
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/llama/mapping/Heatmap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ namespace llama::mapping
typename TCountType = std::size_t>
struct Heatmap : private Mapping
{
static_assert(!hasAnyComputedField<Mapping>, "Heatmaps for computed mappings are not implemented.");

private:
using size_type = typename Mapping::ArrayExtents::value_type;

Expand Down

0 comments on commit 218a693

Please sign in to comment.