Skip to content

Commit 7c94fd7

Browse files
committed
Merge branch 'master' into kmp5/feature/CP
2 parents 2026832 + 831295a commit 7c94fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TiledArray/device/cpu_cuda_vector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class cpu_cuda_vector {
6262

6363
size_type size() const {
6464
if (on_host()) return host_vec_.size();
65-
if (on_device()) return device_vec_.size();
65+
else return device_vec_.size();
6666
}
6767

6868
void resize(size_type new_size) {

0 commit comments

Comments
 (0)