Skip to content

Commit ad9798f

Browse files
committed
Fix include common.fypp
1 parent 4eb578a commit ad9798f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/common.fypp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ $:"s" if cmplx=="c" else "d" if cmplx=="z" else "x" if cmplx=="y" else "q" if cm
151151
#:set BITSET_INIT = ["" for k in BITSET_KINDS]
152152

153153
#! Bitset CPP directive to be considered during templating
154-
#:set BITSET_CPPS = ["STDLIB_BITSET" for k in BITSET_KINDS]
154+
#:set BITSET_CPPS = ["STDLIB_BITSET == 1" for k in BITSET_KINDS]
155155

156156
#! Collected (kind, type) tuples for bitset types
157157
#:set BITSET_KINDS_TYPES = list(zip(BITSET_KINDS, BITSET_TYPES, BITSET_INIT, BITSET_CPPS))
@@ -496,7 +496,7 @@ ${indent}$do ${varname}$${n+1+dim_offset-i}$ = lbound(${matname}$, ${n+1+dim_off
496496
#!
497497
#:def generate_cpp(code, cpp_var)
498498
#:if cpp_var != ""
499-
#ifdef ${cpp_var}$
499+
#if ${cpp_var}$
500500
#:endif
501501
$:code
502502
#:if cpp_var != ""

0 commit comments

Comments
 (0)