aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2024-05-06 17:22:39 +0200
committerThomas White <taw@physics.org>2024-05-06 17:22:39 +0200
commit741ca70b8fae1ca560fa84b7a533efbd7f2ba1de (patch)
treec3c980789ad150b94dbd56755daa2ffa84848806 /scripts
parentc7a602f5d1e1109e341f25bad264a11f2beec9b3 (diff)
data_template_write_to_fh: Don't try to write coffset at top levelHEADmaster
Previously, there was a bad bug here. We would still try to write a top-level coffset even if panels have moved such that the coffset is no longer a single value. One possibility is to unset panel->cnz_offset_default when moving a panel. This works, but we have to do it on every translation, or accept a floating-point comparison with zero and associated non-determinism. It's very likely that if we move one panel, we'll be moving all panels, even if only by a small amount. So, a more stable way seems to just write separate coffset values all the time. The coffset values aren't really meant to be used at the top level anyway (that's what clen is for!), so this fits pretty well.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions