Skip to content

Commit

Permalink
cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
quffaro committed Dec 19, 2023
1 parent 16af318 commit a8b2291
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/DiagrammaticEquations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ op1_inf_rules_1D,
op2_inf_rules_1D,
op1_inf_rules_2D,
op2_inf_rules_2D,
recursive_delete_parents, findname, spacename, varname, unicode!,
recursive_delete_parents, findname, spacename, varname, unicode!, apply_inference_rule_op1!, apply_inference_rule_op2!,
## collages
Collage, collate,
## composition
Expand All @@ -22,7 +22,7 @@ oapply, unique_by, unique_by!, OpenSummationDecapodeOb, OpenSummationDecapode, O
SchDecapode, SchNamedDecapode, AbstractDecapode, AbstractNamedDecapode, NamedDecapode, SummationDecapode,
contract_operators, add_constant!, add_parameter, vec_to_dec!, infer_types!,
fill_names!, dot_rename!, expand_operators, infer_state_names, recognize_types,
resolve_overloads!,
resolve_overloads!, replace_names!,
## language
@decapode, Term, parse_decapode, term, Eq, DecaExpr,
# ~~~~~
Expand Down
6 changes: 3 additions & 3 deletions src/deca/Deca.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ using Catlab
include("deca_acset.jl")
include("deca_visualization.jl")

export normalize_unicode, varname, infer_states, infer_types!, typename, spacename, recursive_delete_parents, recursive_delete_parents!, unicode!, op1_res_rules_1D,
export normalize_unicode, varname, infer_states, infer_types!, typename, spacename, recursive_delete_parents, recursive_delete_parents!, unicode!, replace_names!, op1_res_rules_1D,
op2_res_rules_1D,
op1_res_rules_2D,
op2_res_rules_2D,
op1_inf_rules_1D,
op2_inf_rules_1D,
op1_inf_rules_2D,
op2_inf_rules_2D

op2_inf_rules_2D,
apply_inference_rule_op1!, apply_inference_rule_op2!

## TODO: where?
function infer_states(d::SummationDecapode)
Expand Down
2 changes: 2 additions & 0 deletions src/deca/deca_acset.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using ..DiagrammaticEquations

# TODO: You could write a method which auto-generates these rules given degree N.
"""
These are the default rules used to do type inference in the 1D exterior calculus.
Expand Down

0 comments on commit a8b2291

Please sign in to comment.