From e4d7417f981ef25b6caaff4c713f307c375f82e5 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Tue, 21 May 2019 22:03:23 -0500 Subject: [PATCH] Fix default constant on Watt spectrum when no source is specified --- src/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings.cpp b/src/settings.cpp index 4c041a080d..32032ed2a7 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -400,7 +400,7 @@ void read_settings_xml() SourceDistribution source { UPtrSpace{new SpatialPoint({0.0, 0.0, 0.0})}, UPtrAngle{new Isotropic()}, - UPtrDist{new Watt(0.988, 2.249e-6)} + UPtrDist{new Watt(0.988e6, 2.249e-6)} }; model::external_sources.push_back(std::move(source)); }