Skip to content
Snippets Groups Projects
Commit 6fb44884 authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Use new EnsurePluginsLoaded functionality in Simulation::Init.

parent 4b4401ea
No related branches found
No related tags found
No related merge requests found
......@@ -295,8 +295,8 @@ void Simulation::Init(const TopologyPtr top,
//setting up the context, which combines the system with an integrator
//to proceed in time, but first we have to load the proper platform
OpenMM::Platform::loadPluginsFromDirectory (settings->openmm_plugin_directory);
OpenMM::Platform::loadPluginsFromDirectory (settings->custom_plugin_directory);
EnsurePluginsLoaded(settings->openmm_plugin_directory);
EnsurePluginsLoaded(settings->custom_plugin_directory);
OpenMM::Platform* platform;
std::map<String,String> context_properties;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment