Commit 01bf7d1
committed
Fix GEN_KW update flag matching parameter name
The update flag was set using `"CONST" not in params`,
which searches the entire list including the parameter
name. A parameter named "CONST" with a non-CONST
distribution would incorrectly get update=False.
Narrow the check to only inspect the distribution type
at params[1].1 parent 15eafd5 commit 01bf7d1
File tree
2 files changed
+21
-1
lines changed- src/ert/config
- tests/ert/unit_tests/config
2 files changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
| |||
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
206 | | - | |
| 207 | + | |
207 | 208 | | |
208 | 209 | | |
209 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
861 | 861 | | |
862 | 862 | | |
863 | 863 | | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
864 | 883 | | |
865 | 884 | | |
866 | 885 | | |
| |||
0 commit comments