Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wenqing
ogs
Commits
a6a7a3ca
Commit
a6a7a3ca
authored
9 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[MaL] Remove asserts checked inside of eigen lib.
parent
5d3f6535
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MathLib/LinAlg/Eigen/EigenMatrix.h
+0
-3
0 additions, 3 deletions
MathLib/LinAlg/Eigen/EigenMatrix.h
with
0 additions
and
3 deletions
MathLib/LinAlg/Eigen/EigenMatrix.h
+
0
−
3
View file @
a6a7a3ca
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
#ifndef EIGENMATRIX_H_
#ifndef EIGENMATRIX_H_
#define EIGENMATRIX_H_
#define EIGENMATRIX_H_
#include
<cassert>
#ifndef NDEBUG
#ifndef NDEBUG
#include
<fstream>
#include
<fstream>
#include
<string>
#include
<string>
...
@@ -79,7 +78,6 @@ public:
...
@@ -79,7 +78,6 @@ public:
/// inserted.
/// inserted.
int
add
(
IndexType
row
,
IndexType
col
,
double
val
)
int
add
(
IndexType
row
,
IndexType
col
,
double
val
)
{
{
assert
(
row
<
getNRows
()
&&
col
<
getNCols
());
_mat
.
coeffRef
(
row
,
col
)
+=
val
;
_mat
.
coeffRef
(
row
,
col
)
+=
val
;
return
0
;
return
0
;
}
}
...
@@ -120,7 +118,6 @@ public:
...
@@ -120,7 +118,6 @@ public:
/// get value. This function returns zero if the element doesn't exist.
/// get value. This function returns zero if the element doesn't exist.
double
get
(
IndexType
row
,
IndexType
col
)
const
double
get
(
IndexType
row
,
IndexType
col
)
const
{
{
assert
(
row
<
getNRows
()
&&
col
<
getNCols
());
return
_mat
.
coeff
(
row
,
col
);
return
_mat
.
coeff
(
row
,
col
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment