Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ADerrors.jl
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
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
Fabian Joswig
ADerrors.jl
Commits
1ed66a8d
Commit
1ed66a8d
authored
Jul 31, 2020
by
Alberto Ramos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug writing observables in BDIO format
parent
5b7f1b93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
src/ADerrorsIO.jl
src/ADerrorsIO.jl
+2
-8
No files found.
src/ADerrorsIO.jl
View file @
1ed66a8d
...
@@ -310,14 +310,8 @@ function write_bdio(p::uwreal, fb, iu::Int, ws::wspace)
...
@@ -310,14 +310,8 @@ function write_bdio(p::uwreal, fb, iu::Int, ws::wspace)
BDIO
.
BDIO_write!
(
fb
,
convert
(
Vector
{
Int32
},
p
.
ids
),
true
)
BDIO
.
BDIO_write!
(
fb
,
convert
(
Vector
{
Int32
},
p
.
ids
),
true
)
for
j
in
1
:
nid
for
j
in
1
:
nid
for
i
in
1
:
length
(
p
.
prop
)
nt
=
maximum
(
ws
.
fluc
[
ws
.
map_ids
[
p
.
ids
[
j
]]]
.
ivrep
)
if
(
p
.
prop
[
i
]
&&
(
ws
.
map_nob
[
i
]
==
p
.
ids
[
j
]))
BDIO
.
BDIO_write!
(
fb
,
[
nt
],
true
)
(
nt
,
ip
)
=
findmax
(
ws
.
fluc
[
i
]
.
ivrep
)
nt
=
convert
(
Int32
,
div
(
nt
,
2
*
ws
.
fluc
[
i
]
.
ibn
))
BDIO
.
BDIO_write!
(
fb
,
[
nt
],
true
)
continue
end
end
end
end
BDIO
.
BDIO_write!
(
fb
,
zeros
(
Float64
,
nid
),
true
)
BDIO
.
BDIO_write!
(
fb
,
zeros
(
Float64
,
nid
),
true
)
...
...
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