mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Simplify test and fix typos in documentation
This commit is contained in:
parent
0bb5030ee0
commit
475656e6e0
2 changed files with 8 additions and 33 deletions
|
|
@ -288,8 +288,8 @@ the custom source, based on the value supplied in the
|
|||
|
||||
// you must have external C linkage here otherwise
|
||||
// dlopen will not find the file
|
||||
extern "C" ParameterizedSource* openmc_create_source(const char* parameterized_source) {
|
||||
return new ParameterizedSource(std::stod(parameters));
|
||||
extern "C" ParameterizedSource* openmc_create_source(const char* parameter) {
|
||||
return new ParameterizedSource(atof(parameter));
|
||||
}
|
||||
|
||||
As with the basic custom source functionality, the custom source library
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue