Skip to content

Commit a4b60d0

Browse files
authored
Fix: Config.precision (#482)
Only `AMREX_USE_FLOAT` exists. See also conda-forge/impactx-feedstock#56 (comment).
1 parent 5e0cefe commit a4b60d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Base/AMReX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ void init_AMReX(py::module& m)
102102
.def_property_readonly_static(
103103
"precision",
104104
[](py::object){
105-
#ifdef AMREX_SINGLE_PRECISION
105+
#ifdef AMREX_USE_FLOAT
106106
return "SINGLE";
107107
#else
108108
return "DOUBLE";

0 commit comments

Comments
 (0)