Default values for real parameters cannot have negative exponent

Create issue
Issue #1935 closed
Erik Schnetter created an issue

The declaration

CCTK_REAL eos_amu "Atomic mass unit (in kg)"
  (0.0:* :: ""
} 1.660539040e−27

leads to the error

CST error 1:
  -> Default '1.660539040e−27' for real parameter 'eos_amu' in thorn 'NRHRSC' is not a real


Comments (2)

  1. Erik Schnetter reporter
    • changed status to resolved
    • removed comment

    It turns out that the operator that looks like a minus sign here is another character, copied from the web.

  2. Log in to comment