Re: [AMBER-Developers] Amber Tools Install

From: David A. Case <case.biomaps.rutgers.edu>
Date: Tue, 17 Mar 2009 16:09:12 +0000

On Tue, Mar 17, 2009, Volodymyr Babin wrote:

>
> + int maxseq = std::min(static_cast<size_t>(4),
> (line.length()-SEQ_START)/SEQ_WIDTH );

Very nice...seems to work for me, where I had had the same problem as
Lachele. I had been confused by the error message:

 bond.cpp:18: error: no matching function for call to ‘min(long unsigned
  int, unsigned int)’

and had not identified this as a size_t related problem.

If it works for Scott on nightly tests, one of us should commit to CVS.

...thanks!...dave

_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Wed Mar 18 2009 - 01:17:14 PDT
Custom Search