Skip to content

Commit 96c8add

Browse files
committed
CONJOIN: Fix bad previous commit
1 parent d0f434c commit 96c8add

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/seacas/applications/conjoin/CJ_Internals.C

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright(C) 1999-, 20242024, , , National Technology & Engineering Solutions
2+
* Copyright(C) 1999-, 20242024, , , , National Technology & Engineering Solutions
33
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
44
* NTESS, the U.S. Government retains certain rights in this software.
55
*
@@ -311,8 +311,8 @@ int Excn::Internals::put_metadata(const Mesh<INT> &mesh, const CommunicationMeta
311311
int varid = 0;
312312
{
313313
std::array dim{timedim};
314-
if ((status = nc_def_var(exodusFilePtr, VAR_WHOLE_TIME, static_cast<nc_flt_code>(exodusFilePtr),
315-
1, Data(dim), &varid)) != NC_NOERR) {
314+
if ((status = nc_def_var(exodusFilePtr, VAR_WHOLE_TIME, nc_flt_code(exodusFilePtr), 1,
315+
Data(dim), &varid)) != NC_NOERR) {
316316
std::string errmsg = fmt::format(
317317
"Error: failed to define whole time step variable in file id {}", exodusFilePtr);
318318
ex_err_fn(exodusFilePtr, __func__, errmsg.c_str(), status);

0 commit comments

Comments
 (0)