This repository was archived by the owner on Apr 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ ScopUPtr Scop::makeScop(
85
85
return makeScop (ctx, tc2halide::translate (ctx, treeRef, compilerOptions));
86
86
}
87
87
88
- isl::union_set & Scop::domainRef () {
88
+ isl::UnionSet<Statement> & Scop::domainRef () {
89
89
auto dom = scheduleRoot ()->as <ScheduleTreeDomain>();
90
90
TC_CHECK (dom) << " root is not a domain in: " << *scheduleRoot ();
91
91
// TODO: activate this when the invariant has a chance of working (i.e. we
@@ -99,7 +99,7 @@ isl::union_set& Scop::domainRef() {
99
99
}
100
100
101
101
const isl::UnionSet<Statement> Scop::domain () const {
102
- return isl::UnionSet<Statement>( const_cast <Scop*>(this )->domainRef () );
102
+ return const_cast <Scop*>(this )->domainRef ();
103
103
}
104
104
105
105
std::ostream& operator <<(std::ostream& os, const Scop& s) {
Original file line number Diff line number Diff line change @@ -509,7 +509,7 @@ struct Scop {
509
509
// By analogy with generalized functions, the domain is the "support" part
510
510
// of the ScheduleTree "function".
511
511
private:
512
- isl::union_set & domainRef ();
512
+ isl::UnionSet<Statement> & domainRef ();
513
513
514
514
public:
515
515
const isl::UnionSet<Statement> domain () const ;
You can’t perform that action at this time.
0 commit comments