Skip to content

Commit

Permalink
Add support for CCLS
Browse files Browse the repository at this point in the history
  • Loading branch information
alazzaro committed Feb 23, 2022
1 parent 498e614 commit 2952e6f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .ccls
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
clang
%c -std=c17
%cpp -std=c++17
-Isrc/
2 changes: 1 addition & 1 deletion .fortls
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"excl_paths": ["obj"]
"excl_paths": ["build"]
}
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,12 @@ Session.vim
# auto-generated tag files
tags
.tags
.tags_swap

# End of https://www.gitignore.io/api/vim,emacs,python,fortran

spack-*
spack-*

.ccls-cache/

.DS_Store
2 changes: 1 addition & 1 deletion examples/dbcsr_tensor_example_2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void fill_random(dbcsr_t_tensor tensor, std::vector<std::vector<int>> nzblocks)
MPI_Comm_size(MPI_COMM_WORLD, &mpi_size);

std::random_device rd;
std::mt19937 gen(rd());
std::mt19937_64 gen(rd());
std::uniform_real_distribution<> dis(-1.0, 1.0);

if (myrank == 0) std::cout << "Filling Tensor..." << std::endl;
Expand Down

0 comments on commit 2952e6f

Please sign in to comment.