Commit 59d1e062 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Define GeometryConfiguration.refine_flag as boolean

parent 1a6b36e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -933,7 +933,7 @@ int cluster_jxi488_cycle(
  double actualaccuracy = cid->accuracygoal;
  invert_matrix(cid->am, ndit, jer, cid->maxrefiters, actualaccuracy, cid->refinemode, output_path, jxi488, mxndm, cid->proc_device);
  // in principle, we should check whether the returned actualaccuracy is indeed lower than the accuracygoal, and do something about it if not
  if (gconf->refine_flag > 0) {
  if (gconf->refine_flag) {
    if (cid->refinemode==2) {
      message = "DEBUG: iterative refinement enabled at run-time.\n";
      logger->log(message, LOG_DEBG);
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ protected:
  //! \brief Vector of spherical components Z coordinates.
  double *_sph_z;
  //! \brief Flag for matrix inversion refinement.
  short _refine_flag;
  bool _refine_flag;
  //! \brief Flag for dynamic order management.
  short _dyn_order_flag;
  //! \brief Host RAM in GB