Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
A
afivo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MD-CWI-NL
afivo
Commits
2dd041c5
Commit
2dd041c5
authored
Mar 20, 2020
by
Jannis Teunissen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve error message set_cc_methods
parent
840971f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/m_af_core.f90
src/m_af_core.f90
+5
-2
No files found.
src/m_af_core.f90
View file @
2dd041c5
...
...
@@ -301,8 +301,11 @@ contains
procedure
(
af_subr_restrict
),
optional
::
restrict
!< Restriction method
integer
::
i
if
(
tree
%
has_cc_method
(
iv
))
&
error stop
"Cannot call af_set_cc_methods twice for same iv"
if
(
tree
%
has_cc_method
(
iv
))
then
print
*
,
"Cannot call af_set_cc_methods twice for "
,
&
trim
(
tree
%
cc_names
(
iv
))
error stop
end
if
! Set methods for the variable and its copies
do
i
=
iv
,
iv
+
tree
%
cc_num_copies
(
iv
)
-
1
...
...
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