Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
fvcom-toolbox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
FVCOM
fvcom-toolbox
Commits
99fd37f8
Commit
99fd37f8
authored
Aug 07, 2018
by
Simon Waldman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
find_nesting_region.m: Bugfix: Don't do stuff with weights if using type 1 nesting.
parent
0e127f5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
find_nesting_region.m
fvcom_prepro/find_nesting_region.m
+5
-3
No files found.
fvcom_prepro/find_nesting_region.m
View file @
99fd37f8
...
...
@@ -243,9 +243,11 @@ for obc_idx = 1:Mobj.nObs
% setdiff
if
~
isempty
(
truecandidate
)
for
dd
=
1
:
length
(
truecandidate
)
Nested
.
read_obc_elems
{
end
}
=
cat
(
2
,
Nested
.
read_obc_elems
{
end
},
truecandidate
(
dd
));
Nested
.
weight_cell
{
end
}
=
cat
(
2
,
Nested
.
weight_cell
{
end
},
Nested
.
weight_cell
{
end
}(
end
));
end
Nested
.
read_obc_elems
{
end
}
=
cat
(
2
,
Nested
.
read_obc_elems
{
end
},
truecandidate
(
dd
));
if
conf
.
Nested_type
(
obc_idx
)
~=
1
Nested
.
weight_cell
{
end
}
=
cat
(
2
,
Nested
.
weight_cell
{
end
},
Nested
.
weight_cell
{
end
}(
end
));
end
end
end
if
ftbverbose
fprintf
(
'\n'
)
...
...
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