gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[task #16288] Warp: warn users when WCSLIB version is <7.12


From: Pedram Ashofteh-Ardakani
Subject: [task #16288] Warp: warn users when WCSLIB version is <7.12
Date: Wed, 29 Mar 2023 07:18:35 -0400 (EDT)

Follow-up Comment #5, task #16288 (project gnuastro):

On another note, using negations in conditionals makes the logic complex and
harder to understand. I'd suggest to replace the conditional from:


if(!(ver[0]>=7 && ver[1]>=12))exit(1);


To the simpler case shown below:


 if(ver[0]<7 && ver[1]<12)exit(1);


Less paranthesis and no more negations '!' :)


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/task/?16288>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]