Skip to content

Commit 7535a6e

Browse files
committed
added boost_math_std_using to trunc overload [windows]
1 parent 66175e3 commit 7535a6e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ build/*
1313
#*.svg
1414
tools/bin/**
1515
.idea/*
16-
16+
# autogenerated for table in reverse mode docs
17+
doc/differentiation/compilation_table.txt
18+
test/test_reverse_mode_autodiff_special_functions_compile/generated_jam_compile_commands.txt
1719
# CMake Related Options
1820
*.a
1921
*.o

include/boost/math/differentiation/detail/reverse_mode_autodiff_stl_expressions.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,7 @@ struct fmod_left_float_expr
810810
}
811811
static const inner_t derivative(const inner_t &argv, const inner_t & /*v*/, const RealType &constant)
812812
{
813+
BOOST_MATH_STD_USING
813814
return static_cast<RealType>(-1.0) * trunc(constant / argv);
814815
}
815816
};

0 commit comments

Comments
 (0)