Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
qbox-public
Overview
Overview
Details
Activity
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
qbox
qbox-public
Commits
a4971252
Commit
a4971252
authored
Aug 19, 2020
by
Francois Gygi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix serialized closing tag in SlaterDet::str
parent
6cc9262b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
SlaterDet.cpp
src/SlaterDet.cpp
+3
-8
No files found.
src/SlaterDet.cpp
View file @
a4971252
...
...
@@ -1781,11 +1781,7 @@ void SlaterDet::str(string& sdstr, string encoding, double weight,
}
xcdr
.
print
(
outlen
,(
char
*
)
b
,
ostr
);
if
(
ctxt_
.
myrow
()
==
lastproc
)
{
ostr
<<
"</grid_function>
\n
"
;
if
(
(
ctxt_
.
mycol
()
==
(
ctxt_
.
npcol
()
-
1
)
)
&&
(
n
==
(
nstloc
()
-
1
)
)
)
ostr
<<
"</slater_determinant>
\n
"
;
}
delete
[]
b
;
}
else
...
...
@@ -1818,11 +1814,7 @@ void SlaterDet::str(string& sdstr, string encoding, double weight,
if
(
count
%
4
!=
0
)
ostr
<<
"
\n
"
;
if
(
ctxt_
.
myrow
()
==
lastproc
)
{
ostr
<<
"</grid_function>
\n
"
;
if
(
(
ctxt_
.
mycol
()
==
(
ctxt_
.
npcol
()
-
1
)
)
&&
(
n
==
(
nstloc
()
-
1
)
)
)
ostr
<<
"</slater_determinant>
\n
"
;
}
}
// copy contents of ostr stringstream to segment
seg
+=
ostr
.
str
();
...
...
@@ -1872,6 +1864,9 @@ void SlaterDet::str(string& sdstr, string encoding, double weight,
delete
[]
rbuf
;
}
if
(
ctxt_
.
mype
()
==
(
ctxt_
.
size
()
-
1
)
)
sdstr
+=
"</slater_determinant>
\n
"
;
// sdstr now contains the data to be written in order of
// increasing sd rank
}
...
...
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