Re: [AMBER] Small NAB program: Not getting desired output

From: David A Case <>
Date: Fri, 17 Oct 2014 08:30:41 -0400

On Fri, Oct 17, 2014, Himanshu Joshi wrote:
> n="" does not work for wc_helix giving segmentation fault.
> So I have to go with n =NULL; bad.

> Somehow wc_helix returns the complimentary string to the other
> sting if one is giviven NULL value as it is clear by output of this
> program.

Now you know; it could be that the design of wc_helix() should be changed, so
that the string "n" is not modified. But for now, you cannot make that
assumption, and hence need to re-initialize the string before each call to


AMBER mailing list
Received on Fri Oct 17 2014 - 06:00:04 PDT
Custom Search