diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-08 15:03:51 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-08 15:03:51 -0500 |
commit | 7ea3569e3894f19fbae6cfdb3406f2240570e3c1 (patch) | |
tree | e04caa4058baa9f0a9ff46771eef903be49ce3cb /lib/field.cpp | |
parent | 6816abc1e89fd955524d7c772477d6483d12cbf9 (diff) | |
download | verbly-7ea3569e3894f19fbae6cfdb3406f2240570e3c1.tar.gz verbly-7ea3569e3894f19fbae6cfdb3406f2240570e3c1.tar.bz2 verbly-7ea3569e3894f19fbae6cfdb3406f2240570e3c1.zip |
Added a bunch of stuff for making LINGO puzzles
Diffstat (limited to 'lib/field.cpp')
-rw-r--r-- | lib/field.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/field.cpp b/lib/field.cpp index ad6d958..4b7fff6 100644 --- a/lib/field.cpp +++ b/lib/field.cpp | |||
@@ -110,7 +110,10 @@ namespace verbly { | |||
110 | 110 | ||
111 | field::operator filter() const | 111 | field::operator filter() const |
112 | { | 112 | { |
113 | if (isJoin()) | 113 | if (type_ == type::hierarchal_join) |
114 | { | ||
115 | return filter(*this, filter::comparison::hierarchally_matches, filter()); | ||
116 | } else if (isJoin()) | ||
114 | { | 117 | { |
115 | return filter(*this, filter::comparison::matches, filter()); | 118 | return filter(*this, filter::comparison::matches, filter()); |
116 | } else { | 119 | } else { |