Skip to content

Commit 7c267ec

Browse files
constructor fixes
1 parent 696de13 commit 7c267ec

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

include/osp/bsp/model/MaxBspScheduleCS.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,11 @@ class MaxBspScheduleCS : public BspScheduleCS<Graph_t> {
6666
MaxBspScheduleCS(const BspScheduleCS<Graph_t> &schedule) : BspScheduleCS<Graph_t>(schedule) {}
6767
MaxBspScheduleCS(BspScheduleCS<Graph_t> &&schedule) : BspScheduleCS<Graph_t>(std::move(schedule)) {}
6868

69-
MaxBspScheduleCS(const MaxBspSchedule<Graph_t> &schedule) : BspScheduleCS<Graph_t>(std::move(schedule)) {
69+
MaxBspScheduleCS(const MaxBspSchedule<Graph_t> &schedule) : BspScheduleCS<Graph_t>(schedule) {
70+
this->setAutoCommunicationSchedule();
71+
}
72+
73+
MaxBspScheduleCS(const MaxBspSchedule<Graph_t> &&schedule) : BspScheduleCS<Graph_t>(std::move(schedule)) {
7074
this->setAutoCommunicationSchedule();
7175
}
7276

0 commit comments

Comments
 (0)