Skip to content

Commit 3e5865b

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 67c8d6f commit 3e5865b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

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)