mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Hadrons: schedule loading fix
This commit is contained in:
parent
4eac4e575e
commit
639f9cab82
@ -218,11 +218,12 @@ void Application::loadSchedule(const std::string filename)
|
|||||||
program_.push_back(vm().getModuleAddress(name));
|
program_.push_back(vm().getModuleAddress(name));
|
||||||
}
|
}
|
||||||
loadedSchedule_ = true;
|
loadedSchedule_ = true;
|
||||||
|
scheduled_ = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::printSchedule(void)
|
void Application::printSchedule(void)
|
||||||
{
|
{
|
||||||
if (!scheduled_)
|
if (!scheduled_ and !loadedSchedule_)
|
||||||
{
|
{
|
||||||
HADRONS_ERROR(Definition, "Computation not scheduled");
|
HADRONS_ERROR(Definition, "Computation not scheduled");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user