From d2744cd4b8d9bef38086526e8e487bafed1fad84 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sat, 9 Apr 2005 21:09:01 +0000 Subject: optimized AtomList functions temporary fixes for VASP compilation updates for batch mode fixes for OSX updated build system fixed timer1 tutorial project oops, forgot about SIMD for Windows fixed compilation with SIMD instructions added shared library build facility for Windows fixed shared library versioning fixed flext::Timer::At method build system: added profiler mode, more fixes moved FLEXT_SHARE definition smaller changes to TableMap small optimizations new: FLEXT_WARN, FLEXT_ERROR macros win32 threading model included fixes for Max compilation svn path=/trunk/; revision=2706 --- externals/grill/flext/source/flatom_part.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'externals/grill/flext/source/flatom_part.cpp') diff --git a/externals/grill/flext/source/flatom_part.cpp b/externals/grill/flext/source/flatom_part.cpp index 9f648e59..b6d4661c 100755 --- a/externals/grill/flext/source/flatom_part.cpp +++ b/externals/grill/flext/source/flatom_part.cpp @@ -25,13 +25,13 @@ int flext::AtomList::Get(t_atom *argv,int mxsz) const } -flext::AtomList flext::AtomList::GetPart(int offs,int len) const +void flext::AtomList::GetPart(int offs,int len,AtomList &ret) const { if(offs+len > Count()) { len = Count()-offs; if(len < 0) len = 0; } - return AtomList(len,Atoms()+offs); + ret(len,Atoms()+offs); } -- cgit v1.2.1