diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index 084dd40d3b..0000000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,7 +0,0 @@ -repos: - - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v12.0.1 # Use the version of clang-format that your project uses - hooks: - - id: clang-format - files: \\.cpp$ - args: [--style=file] \ No newline at end of file diff --git a/src/simulation.cpp b/src/simulation.cpp index 1023b3d321..4fad196a60 100644 --- a/src/simulation.cpp +++ b/src/simulation.cpp @@ -160,8 +160,8 @@ int openmc_simulation_init() // load weight windows from file if (!settings::weight_windows_file.empty()) { openmc_weight_windows_import(settings::weight_windows_file.c_str()); - } - + } + // Set flag indicating initialization is done simulation::initialized = true; return 0;