Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions howso/synthesis.amlg
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,14 @@

;inactive features simply output the one inactive value
(if (contains_index !inactiveFeaturesMap feature)
;if inactive is a null, only skip it if nulls are allowed (allow_null is either .true or not specified)
(if (or
(!= (null) (get !inactiveFeaturesMap feature))
(!= .false (get feature_bounds_map [feature "allow_null"]))
;if inactive is a null, only skip it if the domain isn't explicitly specified and
;nulls are allowed (allow_null is either .true or not specified)
(if (and
(= 0 (size (get feature_bounds_map [feature "allowed"])))
(or
(!= (null) (get !inactiveFeaturesMap feature))
(!= .false (get feature_bounds_map [feature "allow_null"]))
)
)
(seq
(assign (assoc
Expand Down
Loading