Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .github/workflows/clang-format-check.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ repos:
- id: black
# clang-format for C/C++ formatting
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v8.0.1
rev: v19.1.2
hooks:
- id: clang-format
args: ['--style=file']
exclude: "include/json.hpp"
types_or: [c++]
2 changes: 1 addition & 1 deletion include/general.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ inline V *FANS_malloc(size_t n)

#define VERBOSITY 0

//#define EIGEN_RUNTIME_NO_MALLOC
// #define EIGEN_RUNTIME_NO_MALLOC
2 changes: 1 addition & 1 deletion include/solver.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Solver {
void iterateCubes(F f);

void solve();
virtual void internalSolve(){}; // important to have "{}" here, otherwise we get an error about undefined reference to vtable
virtual void internalSolve() {}; // important to have "{}" here, otherwise we get an error about undefined reference to vtable

template <int padding, typename F>
void compute_residual_basic(RealArray &r_matrix, RealArray &u_matrix, F f);
Expand Down