From 30ee96ca41fe2211ef92f37c65ad3d026a50d4dc Mon Sep 17 00:00:00 2001
From: Ben Webb <ben@salilab.org>
Date: Fri, 16 Dec 2022 08:46:40 -0800
Subject: [PATCH] Use 'double' rather than emreal typedef

---
 include/utilities.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/utilities.h b/include/utilities.h
index aa0dfbe..a6d497e 100755
--- a/include/utilities.h
+++ b/include/utilities.h
@@ -250,9 +250,9 @@ IMP::em::DensityMap *get_sub_map(const IMP::em::DensityMap *dm,
                                  const IMP::em::DensityMap *gmm) {
   const IMP::em::DensityHeader *header = sub_gmm->get_header();
   Pointer<IMP::em::DensityMap> m_map(IMP::em::create_density_map(dm));
-  IMP::em::emreal *data1 = sub_gmm->get_data();
-  IMP::em::emreal *data2 = gmm->get_data();
-  IMP::em::emreal *new_data = m_map->get_data();
+  double *data1 = sub_gmm->get_data();
+  double *data2 = gmm->get_data();
+  double *new_data = m_map->get_data();
   for (long i = 0; i < header->get_number_of_voxels(); i++) {
     if (data2[i] != 0.0) {
       double const w(data1[i] / data2[i]);
-- 
GitLab