fix: not using curr amplitude in "ht", maybe NULL !!!

pull/1/head
Thorsten Liebig 2010-08-11 18:44:34 +02:00
parent 3c45c28a66
commit e843b6dcd3
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ void Engine::ApplyCurrentExcite()
// write the first excitation into the file "ht"
if (numTS < Op->Exc->Length)
file_ht << (numTS+0.5) * Op->GetTimestep() << "\t" << Op->Exc->Curr_amp[0]*Op->Exc->Signal_curr[numTS] << "\n"; // do not use std::endl here, because it will do an implicit flush
file_ht << (numTS+0.5) * Op->GetTimestep() << "\t" << Op->Exc->Signal_curr[numTS] << "\n"; // do not use std::endl here, because it will do an implicit flush
else
file_ht << (numTS+0.5) * Op->GetTimestep() << "\t0" << "\n"; // do not use std::endl here, because it will do an implicit flush
}