The PETSc wrapper have a bug where the index of the time variable was aggined an index of -1 if there was no explicit time variable, but when the wrapper went to set the value of the time variable, it checked if the index was > 0. This means that if the index of the time variable happened to be 0, the value of time wouldn't get written to the variable. Need to update to >= 0.
The PETSc wrapper have a bug where the index of the time variable was aggined an index of -1 if there was no explicit time variable, but when the wrapper went to set the value of the time variable, it checked if the index was > 0. This means that if the index of the time variable happened to be 0, the value of time wouldn't get written to the variable. Need to update to >= 0.