Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Praetorius, Simon
mtl4
Commits
f217d1eb
Commit
f217d1eb
authored
Nov 08, 2017
by
Praetorius, Simon
Browse files
umfpack detection corrected and throwing destructor marked
parent
47fe1d0b
Changes
2
Hide whitespace changes
Inline
Side-by-side
boost/numeric/mtl/interface/umfpack_solve.hpp
View file @
f217d1eb
...
...
@@ -52,14 +52,14 @@ namespace mtl { namespace mat {
template
<
typename
Value
>
struct
use_long
{
static
const
bool
value
=
sizeof
(
Value
)
>
sizeof
(
int
);
};
template
<
bool
Larger
>
struct
index_aux
{
typedef
int
type
;
};
#
ifdef
UF_long
#if
def
ined(
UF_long
)
template
<
>
struct
index_aux
<
true
>
{
typedef
UF_long
type
;
};
#
elif SuiteSparse_long
#elif
defined(
SuiteSparse_long
)
template
<
>
struct
index_aux
<
true
>
{
typedef
SuiteSparse_long
type
;
};
#
else
#else
#pragma message "cannot deduce the long umfpack type"
template
<
>
struct
index_aux
<
true
>
{
typedef
long
type
;
};
#
endif
#endif
template
<
typename
Value
>
struct
index
:
index_aux
<
use_long
<
Value
>::
value
>
{};
...
...
boost/numeric/mtl/vector/vec_scal_aop_expr.hpp
View file @
f217d1eb
...
...
@@ -44,7 +44,7 @@ struct vec_scal_aop_expr
:
first
(
v1
),
second
(
v2
),
delayed_assign
(
delay
),
with_comma
(
false
),
index
(
0
)
{}
~
vec_scal_aop_expr
()
~
vec_scal_aop_expr
()
noexcept
(
false
)
{
if
(
!
delayed_assign
)
{
vampir_trace
<
2018
>
tracer
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment