Changeset 47a4c2 in git for kernel/semic.cc
- Timestamp:
- Aug 3, 2011, 8:20:19 PM (13 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 2c52441d528d3c9973ac9373c0325fe522bab68e
- Parents:
- d16ea9b1d0fce4837d7154d0bdcaa13889e507bc
- git-author:
- Martin Lee <martinlee84@web.de>2011-08-03 20:20:19+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:14:23+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/semic.cc
rd16ea9 r47a4c2 91 91 92 92 // ---------------------------------------------------------------------------- 93 // Initialize a spectrum deep from another spectrum 94 // ---------------------------------------------------------------------------- 95 96 void spectrum::copy_deep( const spectrum &spec ) 97 { 98 mu = spec.mu; 99 pg = spec.pg; 100 n = spec.n; 101 102 copy_new( n ); 103 104 for( int i=0; i<n; i++ ) 105 { 106 s[i] = spec.s[i]; 107 w[i] = spec.w[i]; 108 } 109 } 110 111 // ---------------------------------------------------------------------------- 93 112 // Copy constructor for spectrum 94 113 // ----------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.