Skip to content

Commit

Permalink
Disable astyle for metatensor code
Browse files Browse the repository at this point in the history
It has an extremely hard time handling C++17 code, including using
lambda inside function calls (in torch::from_blob) and using
initialization lists constructors
  • Loading branch information
Luthaf committed Apr 23, 2024
1 parent 71a68e1 commit 882af29
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/metatensor/metatensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ the following:
*/
//+ENDPLUMEDOC


/*INDENT-OFF*/
#if !defined(__PLUMED_HAS_LIBTORCH) || !defined(__PLUMED_HAS_METATENSOR)

namespace PLMD { namespace metatensor {
Expand Down
1 change: 1 addition & 0 deletions src/metatensor/vesin.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/*INDENT-OFF*/
#ifndef VESIN_H
#define VESIN_H

Expand Down
1 change: 1 addition & 0 deletions src/metatensor/vesin_single_build.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/*INDENT-OFF*/
#include <cassert>
#include <cstdlib>
#include <cstring>
Expand Down

0 comments on commit 882af29

Please sign in to comment.