Skip to content

Commit 7e50156

Browse files
committed
remove warning message from default setup.cpp
1 parent ae21efc commit 7e50156

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/setup.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
// own implementation of the constructor, initflow and destructor
1313

1414
__attribute__((weak)) Setup::Setup(Input &input, Grid &grid, DataBlock &data, Output &output) {
15-
IDEFIX_WARNING("Caution, this is the default Setup constructor and it does nothing!");
15+
#ifndef WITH_PYTHON
16+
IDEFIX_WARNING("Caution, this is the default Setup constructor and it does nothing!");
17+
#endif
1618
}
1719

1820
__attribute__((weak)) void Setup::InitFlow(DataBlock &data) {

0 commit comments

Comments
 (0)