Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
7260d300
Commit
7260d300
authored
Aug 22, 2017
by
Alexander Wiebel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX
#412
] removed deprecated dynamic exception specifications
parent
205111a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/core/common/math/WMatrixSym.h
src/core/common/math/WMatrixSym.h
+6
-6
No files found.
src/core/common/math/WMatrixSym.h
View file @
7260d300
...
...
@@ -79,7 +79,7 @@ public:
*
* \return reference to the (i,j) element of the table
*/
T
&
operator
()(
size_t
i
,
size_t
j
)
throw
(
WOutOfBounds
)
;
T
&
operator
()(
size_t
i
,
size_t
j
);
/**
* Const version of the element access.
...
...
@@ -91,7 +91,7 @@ public:
*
* \return Const reference to the (i,j) element of the table
*/
const
T
&
operator
()(
size_t
i
,
size_t
j
)
const
throw
(
WOutOfBounds
)
;
const
T
&
operator
()(
size_t
i
,
size_t
j
)
const
;
/**
* Returns the number of elements stored in this matrix.
...
...
@@ -117,7 +117,7 @@ public:
*
* \param data new data in row major arrangement
*/
void
setData
(
const
std
::
vector
<
T
>
&
data
)
throw
(
WOutOfBounds
)
;
void
setData
(
const
std
::
vector
<
T
>
&
data
);
/**
* Renders the matrix to a full nxn matrix, where the main diagonal is set to 0.0 and the m(i,j) == m(j,i).
...
...
@@ -153,7 +153,7 @@ inline WMatrixSym< T >::WMatrixSym()
}
template
<
typename
T
>
inline
const
T
&
WMatrixSym
<
T
>::
operator
()(
size_t
i
,
size_t
j
)
const
throw
(
WOutOfBounds
)
inline
const
T
&
WMatrixSym
<
T
>::
operator
()(
size_t
i
,
size_t
j
)
const
{
if
(
i
==
j
||
i
>=
m_n
||
j
>=
m_n
)
{
...
...
@@ -170,7 +170,7 @@ inline const T& WMatrixSym< T >::operator()( size_t i, size_t j ) const throw( W
template
<
typename
T
>
inline
T
&
WMatrixSym
<
T
>::
operator
()(
size_t
i
,
size_t
j
)
throw
(
WOutOfBounds
)
inline
T
&
WMatrixSym
<
T
>::
operator
()(
size_t
i
,
size_t
j
)
{
if
(
i
==
j
||
i
>=
m_n
||
j
>=
m_n
)
{
...
...
@@ -313,7 +313,7 @@ inline const typename std::vector< T >& WMatrixSym< T >::getData() const
}
template
<
typename
T
>
inline
void
WMatrixSym
<
T
>::
setData
(
const
std
::
vector
<
T
>
&
data
)
throw
(
WOutOfBounds
)
inline
void
WMatrixSym
<
T
>::
setData
(
const
std
::
vector
<
T
>
&
data
)
{
if
(
m_n
*
(
m_n
-
1
)
/
2
!=
data
.
size
()
)
{
...
...
Write
Preview
Markdown
is supported
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