Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
amfe
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
Aerospace and Mechanical Engineering
amfe
Merge requests
!2
amfe - v1.0.2
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
amfe - v1.0.2
hotfix
into
master
Overview
0
Commits
1
Pipelines
1
Changes
3
Merged
Adrien Crovato
requested to merge
hotfix
into
master
3 years ago
Overview
0
Commits
1
Pipelines
1
Changes
3
Expand
amfe - version 1.0.2
Bugfix.
Changes
Clear the values of std::vector before resizing in
Element::buildGradientV()
Tests
Passed on ubuntu 20.04.
Edited
3 years ago
by
Adrien Crovato
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
054ba00c
1 commit,
3 years ago
3 files
+
3
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
tbox/src/wLine2.cpp
+
1
−
0
Options
@@ -160,6 +160,7 @@ void Line2::buildGradientV(int dim)
GaussLine2
&
gauss
=
getCache
(
order
).
gauss
;
// Gradient of volume
gradVol
.
clear
();
gradVol
.
resize
(
2
*
dim
,
0.
);
// 2 nodes
for
(
size_t
k
=
0
;
k
<
gauss
.
getN
();
++
k
)
{
Loading