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(
8585 return makeScop (ctx, tc2halide::translate (ctx, treeRef, compilerOptions));
8686}
8787
88- isl::union_set & Scop::domainRef () {
88+ isl::UnionSet<Statement> & Scop::domainRef () {
8989 auto dom = scheduleRoot ()->as <ScheduleTreeDomain>();
9090 TC_CHECK (dom) << " root is not a domain in: " << *scheduleRoot ();
9191 // TODO: activate this when the invariant has a chance of working (i.e. we
@@ -99,7 +99,7 @@ isl::union_set& Scop::domainRef() {
9999}
100100
101101const isl::UnionSet<Statement> Scop::domain () const {
102- return isl::UnionSet<Statement>( const_cast <Scop*>(this )->domainRef () );
102+ return const_cast <Scop*>(this )->domainRef ();
103103}
104104
105105std::ostream& operator <<(std::ostream& os, const Scop& s) {
Original file line number Diff line number Diff line change @@ -511,7 +511,7 @@ struct Scop {
511511 // By analogy with generalized functions, the domain is the "support" part
512512 // of the ScheduleTree "function".
513513 private:
514- isl::union_set & domainRef ();
514+ isl::UnionSet<Statement> & domainRef ();
515515
516516 public:
517517 const isl::UnionSet<Statement> domain () const ;
You can’t perform that action at this time.
0 commit comments