Commit 622fa496e0f57bd05c9336802915bc7be93e152d
1 parent
0c638967
Correct global names for registry.
Due to a copy-paste error, the global for the registry was identical to the global for the FileFunction. It is surprising that this did not produce an error. This has now been corrected. Proper global variables were introduced for the NodeFunction.
Showing
1 changed file
with
2 additions
and
2 deletions
src/model/GModelSpectralNodes.cpp
| ... | ... | @@ -37,8 +37,8 @@ |
| 37 | 37 | /* __ Constants __________________________________________________________ */ |
| 38 | 38 | |
| 39 | 39 | /* __ Globals ____________________________________________________________ */ |
| 40 | -const GModelSpectralNodes g_spectral_func_seed; | |
| 41 | -const GModelSpectralRegistry g_spectral_func_registry(&g_spectral_func_seed); | |
| 40 | +const GModelSpectralNodes g_spectral_nodes_seed; | |
| 41 | +const GModelSpectralRegistry g_spectral_nodes_registry(&g_spectral_nodes_seed); | |
| 42 | 42 | |
| 43 | 43 | /* __ Method name definitions ____________________________________________ */ |
| 44 | 44 | #define G_FLUX "GModelSpectralNodes::flux(GEnergy&, GEnergy&)" | ... | ... |