@@ -1000,7 +1000,6 @@ void PostOperator<solver_t>::MeasureSParameter() const
10001000 // Depends on LumpedPorts, WavePorts.
10011001 if constexpr (solver_t == ProblemType::DRIVEN )
10021002 {
1003- using fmt::format;
10041003 using std::complex_literals::operator " " i;
10051004
10061005 // Don't measure S-Matrix unless there is only one excitation per port. Also, we current
@@ -1034,7 +1033,7 @@ void PostOperator<solver_t>::MeasureSParameter() const
10341033 }
10351034
10361035 Mpi::Print (" {0} = {1:+.3e}{2:+.3e}i, |{0}| = {3:+.3e}, arg({0}) = {4:+.3e}\n " ,
1037- format (" S[{}][{}]" , idx, drive_port_idx), vi.S .real (), vi.S .imag (),
1036+ fmt:: format (" S[{}][{}]" , idx, drive_port_idx), vi.S .real (), vi.S .imag (),
10381037 Measurement::Magnitude (vi.S ), Measurement::Phase (vi.S ));
10391038 }
10401039 for (const auto &[idx, data] : fem_op->GetWavePortOp ())
@@ -1055,7 +1054,7 @@ void PostOperator<solver_t>::MeasureSParameter() const
10551054 vi.S *= std::exp (1i * data.kn0 * data.d_offset );
10561055
10571056 Mpi::Print (" {0} = {1:+.3e}{2:+.3e}i, |{0}| = {3:+.3e}, arg({0}) = {4:+.3e}\n " ,
1058- format (" S[{}][{}]" , idx, drive_port_idx), vi.S .real (), vi.S .imag (),
1057+ fmt:: format (" S[{}][{}]" , idx, drive_port_idx), vi.S .real (), vi.S .imag (),
10591058 Measurement::Magnitude (vi.S ), Measurement::Phase (vi.S ));
10601059 }
10611060 }
@@ -1152,8 +1151,6 @@ void PostOperator<solver_t>::MeasureProbes() const
11521151#endif
11531152}
11541153
1155- using fmt::format;
1156-
11571154template <ProblemType solver_t >
11581155template <ProblemType U>
11591156auto PostOperator<solver_t >::MeasureAndPrintAll(int ex_idx, int step,
0 commit comments