Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Lustrec - public version
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LustreC
Lustrec - public version
Commits
a8693394
Commit
a8693394
authored
3 years ago
by
Pierre Loic Garoche
Browse files
Options
Downloads
Patches
Plain Diff
Removed deprecated Pervasives module
parent
95d13330
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/dimension.ml
+1
-1
1 addition, 1 deletion
src/dimension.ml
src/utils/utils.ml
+1
-1
1 addition, 1 deletion
src/utils/utils.ml
with
2 additions
and
2 deletions
src/dimension.ml
+
1
−
1
View file @
a8693394
...
@@ -174,7 +174,7 @@ let rec factors_constant fs =
...
@@ -174,7 +174,7 @@ let rec factors_constant fs =
let
norm_factors
fs
=
let
norm_factors
fs
=
let
k
=
factors_constant
fs
in
let
k
=
factors_constant
fs
in
let
nk
=
List
.
filter
(
fun
d
->
not
(
is_dimension_const
d
))
fs
in
let
nk
=
List
.
filter
(
fun
d
->
not
(
is_dimension_const
d
))
fs
in
(
k
,
List
.
sort
Pervasives
.
compare
nk
)
(
k
,
List
.
sort
compare
nk
)
let
rec
terms
dim
=
let
rec
terms
dim
=
match
dim
.
dim_desc
with
match
dim
.
dim_desc
with
...
...
This diff is collapsed.
Click to expand it.
src/utils/utils.ml
+
1
−
1
View file @
a8693394
...
@@ -257,7 +257,7 @@ let pp_final_char_if_non_empty c l =
...
@@ -257,7 +257,7 @@ let pp_final_char_if_non_empty c l =
let
pp_newline_if_non_empty
l
=
let
pp_newline_if_non_empty
l
=
(
fun
fmt
->
match
l
with
[]
->
()
|
_
->
Format
.
fprintf
fmt
"@,"
)
(
fun
fmt
->
match
l
with
[]
->
()
|
_
->
Format
.
fprintf
fmt
"@,"
)
let
fprintf_list
?
(
eol
:
(
'
a
,
formatter
,
unit
)
Pervasives
.
format
=
""
)
~
sep
:
sep
f
fmt
l
=
let
fprintf_list
?
(
eol
:
(
'
a
,
formatter
,
unit
)
format
=
""
)
~
sep
:
sep
f
fmt
l
=
let
rec
aux
fmt
=
function
let
rec
aux
fmt
=
function
|
[]
->
()
|
[]
->
()
|
[
e
]
->
f
fmt
e
|
[
e
]
->
f
fmt
e
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment