@@ -33,7 +33,7 @@ def test_extract_from_bounds():
3333 S .num_mask = array (list (map (lambda x : x == "num" , S .var_type )))
3434 S .factor_mask = array (list (map (lambda x : x == "factor" , S .var_type )))
3535 S .int_mask = array (list (map (lambda x : x == "int" , S .var_type )))
36- S .ordered_mask = array (list (map (lambda x : x == "num" or x == "int" , S .var_type )))
36+ S .ordered_mask = array (list (map (lambda x : x == "num" or x == "int" or x == "float" , S .var_type )))
3737 S .nat_to_cod_init ()
3838 S .theta = zeros (S .n_theta )
3939 # TODO: Currently not used:
@@ -133,7 +133,7 @@ def test_extract_from_bounds():
133133 S .num_mask = array (list (map (lambda x : x == "num" , S .var_type )))
134134 S .factor_mask = array (list (map (lambda x : x == "factor" , S .var_type )))
135135 S .int_mask = array (list (map (lambda x : x == "int" , S .var_type )))
136- S .ordered_mask = array (list (map (lambda x : x == "num" or x == "int" , S .var_type )))
136+ S .ordered_mask = array (list (map (lambda x : x == "num" or x == "int" or x == "float" , S .var_type )))
137137 S .nat_to_cod_init ()
138138 S .theta = zeros (S .n_theta )
139139 # TODO: Currently not used:
@@ -199,7 +199,7 @@ def test_extract_from_bounds():
199199 S .num_mask = array (list (map (lambda x : x == "num" , S .var_type )))
200200 S .factor_mask = array (list (map (lambda x : x == "factor" , S .var_type )))
201201 S .int_mask = array (list (map (lambda x : x == "int" , S .var_type )))
202- S .ordered_mask = array (list (map (lambda x : x == "num" or x == "int" , S .var_type )))
202+ S .ordered_mask = array (list (map (lambda x : x == "num" or x == "int" or x == "float" , S .var_type )))
203203 S .nat_to_cod_init ()
204204 S .theta = zeros (S .n_theta )
205205 # TODO: Currently not used:
0 commit comments