Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/cad/calculix-ccx/files/patch-datcheck.pl
16462 views
1
--- ../test/datcheck.pl.orig 2024-10-18 20:22:54.324331000 +0200
2
+++ ../test/datcheck.pl 2024-10-18 20:23:29.812680000 +0200
3
@@ -1,4 +1,4 @@
4
-#!/usr/bin/perl
5
+#!/usr/local/bin/perl
6
7
#
8
# usage: datcheck.pl file
9
@@ -108,7 +108,7 @@
10
# printf " relative error w.r.t. reference value at same position: %f \%\n\n",$maxerror1;
11
#}
12
13
-if($maxerror2>0.){
14
+if($maxerror2>0.05){
15
$maxerror2=100.*$maxerror2;
16
print "deviation in file $file.dat\n";
17
printf "line: %d reference value: %e value: %e \n",$line2,$valueref2,$value2;
18
19