Undo json fixes.

This commit is contained in:
Robin E. R. Davies
2025-09-08 08:12:46 -04:00
parent 128c62e25b
commit ce6716909f
+1 -17
View File
@@ -429,12 +429,7 @@ namespace pipedal
void write(float f) {
write_float(f);
}
void write(float &f) {
write_float(f);
}
void write(const float &f) {
write_float(f);
}
void write_double(double f)
{
if ((std::isnan(f) || std::isinf(f)))
@@ -456,17 +451,6 @@ namespace pipedal
write_double(d);
}
void write(double &d)
{
write_double(d);
}
void write(const double &d)
{
write_double(d);
}
template <typename T>
void write(const std::vector<T> &value)
{