Skip to content

Commit 938c709

Browse files
committed
Add missing C++ standard library includes
log_range_param.h and range_param.h rely on <cmath> being transitively included through other headers. Adding explicit includes ensures correct builds regardless of which headers are pulled in by dependencies.
1 parent 4f87d38 commit 938c709

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/core/multi_simulation/optimization_param_type/log_range_param.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#ifndef CORE_MULTI_SIMULATION_OPTIMIZATION_PARAM_TYPE_LOG_RANGE_PARAM_H_
1616
#define CORE_MULTI_SIMULATION_OPTIMIZATION_PARAM_TYPE_LOG_RANGE_PARAM_H_
1717

18+
#include <cmath>
1819
#include <string>
1920

2021
#include "core/multi_simulation/optimization_param_type/optimization_param_type.h"

src/core/multi_simulation/optimization_param_type/range_param.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#ifndef CORE_MULTI_SIMULATION_OPTIMIZATION_PARAM_TYPE_RANGE_PARAM_H_
1616
#define CORE_MULTI_SIMULATION_OPTIMIZATION_PARAM_TYPE_RANGE_PARAM_H_
1717

18+
#include <cmath>
1819
#include <string>
1920

2021
#include "core/multi_simulation/optimization_param_type/optimization_param_type.h"

0 commit comments

Comments
 (0)