Skip to content

Commit b300dab

Browse files
committed
removing stress specific settings in native
1 parent de9d9b4 commit b300dab

1 file changed

Lines changed: 1 addition & 18 deletions

File tree

source/native/symbulation_sgp.cc

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,29 +33,12 @@ int symbulation_main(int argc, char *argv[]) {
3333
exit(1);
3434
}
3535

36-
// stress hard-coded transmission modes
37-
if (config.INTERACTION_MECHANISM() == 2) {
38-
//TODO: remove this since it should just be set correctly
39-
if (config.SYMBIONT_TYPE() == 0) {
40-
// mutualists
41-
config.VERTICAL_TRANSMISSION(1.0);
42-
config.HORIZ_TRANS(0);
43-
}
44-
else if (config.SYMBIONT_TYPE() == 1) {
45-
// parasites
46-
config.VERTICAL_TRANSMISSION(0);
47-
config.HORIZ_TRANS(1);
48-
}
49-
}
50-
5136
config.Write(std::cout);
5237
emp::Random random(config.SEED());
5338

54-
TaskSet task_set;
39+
TaskSet task_set = LogicTasks;
5540
if(config.DIFFERENT_TASK_VALUES()) {
5641
task_set = LogicTasksDiff;
57-
} else {
58-
task_set = LogicTasks;
5942
}
6043

6144
SGPWorld world(random, &config, task_set);

0 commit comments

Comments
 (0)