Commit ffa5f743 authored by frey_m's avatar frey_m
Browse files

Sampler: add git revision, use OPAL version #259

parent d196f211
......@@ -4,6 +4,9 @@
#include "Sample/Sampler.h"
#include "OPALconfig.h"
#include "Utilities/Util.h"
#include "Util/OptPilotException.h"
#include "Util/MPIHelper.h"
......@@ -168,7 +171,8 @@ void Sampler::createNewIndividual_m() {
void Sampler::dumpIndividualsToJSON_m() {
tree_m.put("name", "sampler");
tree_m.put("version", "1.1");
tree_m.put(OPAL_PROJECT_NAME " version", OPAL_PROJECT_VERSION);
tree_m.put("git revision", Util::getGitRevision());
std::stringstream bounds;
DVarContainer_t::iterator itr = dvars_m.begin();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment