source: git/tests/omitfixaroundsolve.svx

walls-data-hanging-as-warning
Last change on this file was 0ef9ce4, checked in by Olly Betts <olly@…>, 2 years ago

Make "*fix" with no coordinates an info

This used to give:

warning: FIX command with no coordinates - fixing at (0,0,0)

However it's not really reporting a problem and the ability to omit the
coordinates is a deliberate feature. It is useful for the user to know
where the "*fix" without coordinates is if they want to change the
survey to be in real coordinates, so an "info" diagnostic is a good fit.

Also if "*fix" is used twice with no coordinates we no longer omit this
diagnostic a second time right before the error:

error: Already had FIX command with no coordinates for station "x"

  • Property mode set to 100644
File size: 123 bytes
Line 
1; pos=fail warn=0 error=1
2; Regression test for bug fixed in 1.2.14
3a 0 012 15.0 +12
4*fix a
5*solve
6*fix b
7b 1 123 10.0 -01
Note: See TracBrowser for help on using the repository browser.