Skip to content

Commit 35e490d

Browse files
authored
Merge pull request #1074 from niermann999/ref-default-scalar-type
ref: Set the default scalar type to float
2 parents 5bec9a0 + 2ac38e4 commit 35e490d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The following cmake options are available and can also be specified explicitly f
6868
| DETRAY_BUILD_BENCHMARKS | Build the detray benchmarks | OFF |
6969
| DETRAY_BUILD_CLI_TOOLS | Build the detray command line tools | OFF |
7070
| DETRAY_BUILD_TUTORIALS | Build the examples of detray | OFF |
71-
| DETRAY_CUSTOM_SCALARTYPE | Floating point precision | double |
71+
| DETRAY_CUSTOM_SCALARTYPE | Floating point precision | float |
7272
| DETRAY_EIGEN_PLUGIN | Build Eigen math plugin | OFF |
7373
| DETRAY_SMATRIX_PLUGIN | Build ROOT/SMatrix math plugin | OFF |
7474
| DETRAY_VC_AOS_PLUGIN | Build Vc based AoS math plugin | OFF |

plugins/algebra/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Temporary setting for the scalar type, until it can be removed.
88
set(DETRAY_CUSTOM_SCALARTYPE
9-
"double"
9+
"float"
1010
CACHE STRING
1111
"Scalar type to use in the Detray code"
1212
)

0 commit comments

Comments
 (0)