Skip to content

Commit

Permalink
CoDiPack type can be defined during the configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxSagebaum committed Jun 19, 2024
1 parent c02b705 commit 52173da
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/c/toolkits/codipack/CoDiPackTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@

#include <codi.hpp>

using CoDiReal = codi::RealReverse;
#ifndef CODIPACK_TYPE
#define CODIPACK_TYPE codi::RealReverse
#endif

using CoDiReal = CODIPACK_TYPE;

#endif /* _HAVE_CODIPACK_ */
#endif /* SRC_C_TOOLKITS_CODIPACK_CODIPACKTYPES_H_ */

0 comments on commit 52173da

Please sign in to comment.