summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/nl_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/nl_config.h')
-rw-r--r--src/lib/netlist/nl_config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/netlist/nl_config.h b/src/lib/netlist/nl_config.h
index 58479eae3ef..80f74cb1582 100644
--- a/src/lib/netlist/nl_config.h
+++ b/src/lib/netlist/nl_config.h
@@ -108,6 +108,7 @@ using nl_fptype = double;
//using nl_fptype = float;
using nl_mat_fptype = nl_fptype;
+//using nl_mat_fptype = float;
namespace netlist
{
@@ -124,7 +125,7 @@ namespace netlist
template <>
struct fp_constants<double>
{
- static inline constexpr const double DIODE_MAXDIFF() noexcept { return 1e100; }
+ static inline constexpr double DIODE_MAXDIFF() noexcept { return 1e100; }
static inline constexpr double DIODE_MAXVOLT() noexcept { return 300.0; }
static inline constexpr double TIMESTEP_MAXDIFF() noexcept { return 1e100; }