mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
fix malformed format string
This commit is contained in:
parent
6e523fa1f8
commit
93a9270efc
1 changed files with 2 additions and 2 deletions
|
|
@ -626,9 +626,9 @@ void write_mcpl_source_point(const char *filename, bool surf_source_bank)
|
|||
//write_attribute(file_id, "filetype", "source");
|
||||
//write header stuff (oopy in xml-files as binary blobs for instance))
|
||||
if (VERSION_DEV){
|
||||
line=fmt::format("OpenMC {VERSION_MAJOR}.{VERSION_MINOR}.{VERSION_RELEASE}-development");
|
||||
line=fmt::format("OpenMC {0}.{1}.{2}-development",VERSION_MAJOR,VERSION_MINOR,VERSION_RELEASE);
|
||||
} else {
|
||||
line=fmt::format("OpenMC {VERSION_MAJOR}.{VERSION_MINOR}.{VERSION_RELEASE}");
|
||||
line=fmt::format("OpenMC {0}.{1}.{2}",VERSION_MAJOR,VERSION_MINOR,VERSION_RELEASE);
|
||||
}
|
||||
mcpl_hdr_set_srcname(file_id,line.c_str());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue