diff --git a/howso/synthesis.amlg b/howso/synthesis.amlg index dd90922c..00e44ff0 100644 --- a/howso/synthesis.amlg +++ b/howso/synthesis.amlg @@ -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