Skip to content

Commit

Permalink
PR review comments (undo formatting, clean gitignore)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanstocks00 committed Jul 24, 2024
1 parent 63f2682 commit 3c28073
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 98 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
*.*.swp
.cache/
build/
compile_commands.json
2 changes: 1 addition & 1 deletion src/builtin_interface.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ std::unique_ptr<BuiltinKernel>

// Bail if polarized eval is requested and not supported
EXCHCXX_BOOL_CHECK(kernel_map.key(kern) + " Needs to be Spin-Polarized!",
(not supports_unpolarized(kern)) and polar == Spin::Polarized);
supports_unpolarized(kern) or polar == Spin::Polarized);

if( kern == Kernel::SlaterExchange )
return std::make_unique<BuiltinSlaterExchange>( polar );
Expand Down
Loading

0 comments on commit 3c28073

Please sign in to comment.