Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
e4be7792
"platforms/cpu/vscode:/vscode.git/clone" did not exist on "ea79a456a92c08ea02ccbc2f49f94d5552e2c956"
Commit
e4be7792
authored
Jul 28, 2010
by
Peter Eastman
Browse files
Parameter file reader did not recognize \r as a delimiter
parent
e37555bb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
plugins/amoeba/platforms/cuda/tests/AmoebaTinkerParameterFile.cpp
...amoeba/platforms/cuda/tests/AmoebaTinkerParameterFile.cpp
+2
-1
No files found.
plugins/amoeba/platforms/cuda/tests/AmoebaTinkerParameterFile.cpp
View file @
e4be7792
...
...
@@ -334,7 +334,7 @@ static char* readLine( FILE* filePtr, StringVector& tokens, int* lineCount, FILE
//static const std::string methodName = "readLine";
std
::
string
delimiter
=
"
\n
"
;
std
::
string
delimiter
=
"
\r
\n
"
;
const
int
bufferSize
=
4096
;
char
buffer
[
bufferSize
];
...
...
@@ -2192,6 +2192,7 @@ static int readAmoebaMultipoleParameters( FILE* filePtr, MapStringInt& forceMap,
}
}
else
if
(
field
.
compare
(
"AmoebaMultipoleEnd"
)
==
0
){
printf
(
"here
\n
"
);
done
++
;
}
else
if
(
field
.
compare
(
AMOEBA_MULTIPOLE_ROTATION_MATRICES
)
==
0
||
field
.
compare
(
AMOEBA_MULTIPOLE_ROTATED
)
==
0
||
...
...
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