File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -1293,8 +1293,7 @@ template <typename... Args>
12931293#if defined(_MSC_VER) && _MSC_VER < 1920 // MSVC 2017
12941294constexpr
12951295#endif
1296- inline void
1297- silence_unused_warnings (Args &&...) {
1296+ inline void silence_unused_warnings (Args &&...) {
12981297}
12991298
13001299// MSVC warning C4100: Unreferenced formal parameter
Original file line number Diff line number Diff line change @@ -124,10 +124,9 @@ struct eigen_tensor_helper<
124124template <typename Type, bool ShowDetails, bool NeedsWriteable = false >
125125struct get_tensor_descriptor {
126126 static constexpr auto details
127- = const_name<NeedsWriteable>(" , \" flags.writeable\" " , " " ) + const_name
128- < static_cast <int >(Type::Layout)
129- == static_cast <int >(Eigen::RowMajor)
130- > (" , \" flags.c_contiguous\" " , " , \" flags.f_contiguous\" " );
127+ = const_name<NeedsWriteable>(" , \" flags.writeable\" " , " " )
128+ + const_name<static_cast <int >(Type::Layout) == static_cast <int >(Eigen::RowMajor)>(
129+ " , \" flags.c_contiguous\" " , " , \" flags.f_contiguous\" " );
131130 static constexpr auto value
132131 = const_name(" typing.Annotated[" )
133132 + io_name(" numpy.typing.ArrayLike, " , " numpy.typing.NDArray[" )
You can’t perform that action at this time.
0 commit comments