Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
direct init array<bool, 2> to fix clang 6 error
  • Loading branch information
ryanelandt committed Jul 12, 2023
commit 42b0bbce3dc6dea53333b2ac1acf6891c34442ef
2 changes: 1 addition & 1 deletion include/boost/math/tools/roots.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ namespace detail {
// problem, but whose f0 and f1 values are invalid.
Root1D_Data(T xl, T xh)
: v_eval_({Data_X01<T, Step>(xl), Data_X01<T, Step>(xh)})
, v_is_x_only_({true, true})
, v_is_x_only_({{true, true}})
, ind_last_(true) {}

// Updates the eval using the bool is_h as an index.
Expand Down