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

From: David A Case <case.biomaps.rutgers.edu>
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;

OK...my 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
wc_helix().

....dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Oct 17 2014 - 06:00:04 PDT
Custom Search