Skip to content

Commit 0ecda10

Browse files
committed
[paving] return of boxes() function in case of empty list
1 parent 5157014 commit 0ecda10

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/core/domains/paving/codac2_Paving.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ namespace codac2
7575
return n->hull().intersects(intersecting_box);
7676
});
7777

78+
if(l.empty())
79+
l.push_back(IntervalVector::empty(this->size()));
7880
return l;
7981
}
8082

0 commit comments

Comments
 (0)