From 4d92ce0b228acd62d0acd5edf5416dc732317adf Mon Sep 17 00:00:00 2001 From: Daivik Karbhari <114691318+User-DK@users.noreply.github.com> Date: Tue, 18 Jun 2024 20:11:16 +0530 Subject: [PATCH] ENH: Update model_factory.hpp Here #pragma once was missing and caused error while creating bindings so added it. --- include/model_factory.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/model_factory.hpp b/include/model_factory.hpp index a87f9dd..20aaf71 100644 --- a/include/model_factory.hpp +++ b/include/model_factory.hpp @@ -1,3 +1,4 @@ +#pragma once #include "config_parser.hpp" #include "model.hpp" #include "models/ActivityDrivenModel.hpp" @@ -114,4 +115,4 @@ create_model_deffuant_vector( Network & network, const ModelVariantT & m } } -} // namespace Seldon::ModelFactory \ No newline at end of file +} // namespace Seldon::ModelFactory