Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libmtime
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
icon-libraries
libmtime
Commits
6aead8f3
Commit
6aead8f3
authored
2 months ago
by
Sergey Kosukhin
Browse files
Options
Downloads
Patches
Plain Diff
Fix the uniq example
parent
c57821f8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!76
Fix the uniq example
Pipeline
#96263
passed
1 month ago
Stage: test
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/uniq.f90
+2
-2
2 additions, 2 deletions
examples/uniq.f90
with
2 additions
and
2 deletions
examples/uniq.f90
+
2
−
2
View file @
6aead8f3
...
...
@@ -158,7 +158,7 @@ PROGRAM output_test
WRITE
(
0
,
*
)
' remaining events: '
,
remaining_event_steps
IF
(
remaining_event_steps
>
SIZE
(
mtime_date_container_a
))
THEN
ALLOCATE
(
tmp
(
SIZE
(
mtime_date_container_a
)
),
stat
=
ierrstat
)
ALLOCATE
(
tmp
(
remaining_event_steps
),
stat
=
ierrstat
)
IF
(
ierrstat
/
=
0
)
STOP
'allocate failed'
tmp
(
1
:
remaining_event_steps
)
=
mtime_date_uniq
(
1
:
remaining_event_steps
)
CALL
MOVE_ALLOC
(
tmp
,
mtime_date_container_a
)
...
...
@@ -172,7 +172,7 @@ PROGRAM output_test
DEALLOCATE
(
mtime_date_container_a
)
DEALLOCATE
(
mtime_date_container_b
)
DE
ALL
OCATE
(
tmp_jd
)
C
ALL
deallocateJulianday
(
tmp_jd
)
CONTAINS
...
...
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