biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3acec94
)
Fix incorrect assertion statement
author
Szilárd Páll
<pszilard@kth.se>
Thu, 25 Sep 2014 22:49:12 +0000
(
00:49
+0200)
committer
Szilárd Páll
<pszilard@kth.se>
Fri, 26 Sep 2014 01:06:28 +0000
(
03:06
+0200)
Copy-paste bug that was totally harmless as we've always had more
electrostatics than VdW kernel types, but it did render the assertion
incorrect.
Change-Id: I996bef6342cbb9bb8ce8994f38cac61924f6af1f
src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda.cu
patch
|
blob
|
history
diff --git
a/src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda.cu
b/src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda.cu
index 440c074db3b9518cfb2da8b8769e7084f6464be8..d02e9034104480e733b0d4bdadd3827ba00eccb2 100644
(file)
--- a/
src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda.cu
+++ b/
src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda.cu
@@
-210,7
+210,7
@@
static inline nbnxn_cu_kfunc_ptr_t select_nbnxn_kernel(int eeltype,
nbnxn_cu_kfunc_ptr_t res;
assert(eeltype < eelCuNR);
- assert(evdwtype < e
el
CuNR);
+ assert(evdwtype < e
vdw
CuNR);
if (bDoEne)
{