line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package cppAdaptive1; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
49047
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
49
|
|
4
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
237
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
require DynaLoader; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.01'; |
9
|
|
|
|
|
|
|
$VERSION = eval $VERSION; ## no critic qw[BuiltinFunctions::ProhibitStringyEval] |
10
|
|
|
|
|
|
|
DynaLoader::bootstrap cppAdaptive1 $VERSION; |
11
|
|
|
|
|
|
|
|
12
|
2
|
|
|
2
|
0
|
5510
|
sub dl_load_flags { return 0 } # Prevent DynaLoader from complaining and croaking |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub update { |
15
|
1
|
|
|
1
|
0
|
91
|
my ( $obsVector, $futVector, $betaVector, $n_observed ) = @_; |
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
|
|
2
|
return @{ _update( $obsVector, $futVector, $betaVector, $n_observed ) }; |
|
1
|
|
|
|
|
238890850
|
|
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
## -----SOURCE FILTER LOG BEGIN----- |
22
|
|
|
|
|
|
|
## |
23
|
|
|
|
|
|
|
## PerlCritic profile "common" policy violations: |
24
|
|
|
|
|
|
|
## +------+----------------------+----------------------------------------------------------------------------------------------------------------+ |
25
|
|
|
|
|
|
|
## | Sev. | Lines | Policy | |
26
|
|
|
|
|
|
|
## |======+======================+================================================================================================================| |
27
|
|
|
|
|
|
|
## | 2 | 9 | ValuesAndExpressions::RequireConstantVersion - $VERSION value must be a constant | |
28
|
|
|
|
|
|
|
## +------+----------------------+----------------------------------------------------------------------------------------------------------------+ |
29
|
|
|
|
|
|
|
## |
30
|
|
|
|
|
|
|
## -----SOURCE FILTER LOG END----- |
31
|
|
|
|
|
|
|
__END__ |